Added test case which demonstrates a bug with implicit left recusion in SRG generation.

This commit is contained in:
bringert
2007-03-23 18:09:22 +00:00
parent 082b3575f8
commit 289ee4869e

13
test/srg/srg0002/empty.gf Normal file
View File

@@ -0,0 +1,13 @@
cat S; X; E;
fun s : S ;
--fun es : E -> S -> S ;
fun sx : S -> X -> S ;
fun x : X ;
fun e : E ;
lin s = { s = "s" } ;
--lin es e s = { s = e.s ++ s.s } ;
lin sx s x = { s = s.s ++ x.s } ;
lin x = { s = "x" } ;
lin e = { s = "e" } ;