From d5b4230d6dbee8c03eedf8d181dfa2badf1a954b Mon Sep 17 00:00:00 2001 From: aarne Date: Wed, 22 Sep 2004 20:42:21 +0000 Subject: making parsing ImperC work --- examples/gfcc/ResImper.gf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/gfcc/ResImper.gf') diff --git a/examples/gfcc/ResImper.gf b/examples/gfcc/ResImper.gf index a72aaf8c2..62097bdc3 100644 --- a/examples/gfcc/ResImper.gf +++ b/examples/gfcc/ResImper.gf @@ -67,4 +67,6 @@ resource ResImper = { ss (s ++ ";" ++ i.s) ** {s2 = v ++ i.s2 ; s3 = i.s3} ; binop : Str -> SS -> SS -> SS = \op, x, y -> ss (x.s ++ y.s ++ op ++ ";") ; + binopt : Str -> SS -> SS -> SS -> SS = \op, x, y, t -> + ss (x.s ++ y.s ++ t.s ++ op ++ ";") ; } -- cgit v1.2.3