diff options
Diffstat (limited to 'test/typeref2.lm')
-rw-r--r-- | test/typeref2.lm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/typeref2.lm b/test/typeref2.lm new file mode 100644 index 0000000..d95e3f1 --- /dev/null +++ b/test/typeref2.lm @@ -0,0 +1,34 @@ +##### LM ##### +namespace n1 + + namespace n2 + lex + token id / 'a' .. 'z' / + ignore / '\n' | '\t' | ' ' / + end + + def start + [id*] + end +end + +parse P: n1::n2::id+[stdin] +print( P ) +##### IN ##### + +##### EXP ##### +NIL--noeol +##### IN ##### +a +##### EXP ##### +a +##### IN ##### +a + b + c +d +##### EXP ##### +a + b + c +d |