1
0
forked from GitHub/gf-core

fix in CheckGrammar case exprs

This commit is contained in:
aarne
2005-05-09 08:45:23 +00:00
parent 2b059b811d
commit 2805a8ee2c
3 changed files with 14 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ resource ResImper = open Predef in {
{s = f ; p = p ; a = a} ;
usePrec : PrecExp -> Prec -> Str = \x,p ->
case <<x.p,p> : Prec * Prec> of {
case <x.p,p> of {
<3,4> | <2,3> | <2,4> => paren x.s ;
<1,1> | <1,0> | <0,0> => x.s ;
<1,_> | <0,_> => paren x.s ;