From 2c60a2d82a0d7b90924e7dbbcacf36afb8549d17 Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 23 Sep 2004 14:41:42 +0000 Subject: Ints n --- examples/gfcc/ImperC.gf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/gfcc/ImperC.gf') diff --git a/examples/gfcc/ImperC.gf b/examples/gfcc/ImperC.gf index 69ffa9226..a97688529 100644 --- a/examples/gfcc/ImperC.gf +++ b/examples/gfcc/ImperC.gf @@ -36,10 +36,10 @@ concrete ImperC of Imper = open ResImper in { EVar _ x = constant x.s ; EInt n = constant n.s ; EFloat a b = constant (a.s ++ "." ++ b.s) ; - EMul _ = infixL P2 "*" ; - EAdd _ = infixL P1 "+" ; - ESub _ = infixL P1 "-" ; - ELt _ = infixN P0 "<" ; + EMul _ = infixL 3 "*" ; + EAdd _ = infixL 2 "+" ; + ESub _ = infixL 2 "-" ; + ELt _ = infixN 1 "<" ; EApp args val f exps = constant (f.s ++ paren exps.s) ; -- cgit v1.2.3