fix reference type inference

This commit is contained in:
Nathan Braswell
2015-07-15 13:56:57 -04:00
parent 06f36f2a87
commit 51adf491fa
8 changed files with 65 additions and 30 deletions

10
tests/grammer2.kgm Normal file
View File

@@ -0,0 +1,10 @@
# comment
a = b ;
b = "c":named_c ;
b = c "d":dname ;
c = "a" | d ;
d = e post_null post_non_null ;
e = f | ;
f = ;
post_null = "hi"
post_non_null = "bye"