summaryrefslogtreecommitdiff
path: root/test/translate2.lm
diff options
context:
space:
mode:
Diffstat (limited to 'test/translate2.lm')
-rw-r--r--test/translate2.lm5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/translate2.lm b/test/translate2.lm
index 7d746e28..57d0ef19 100644
--- a/test/translate2.lm
+++ b/test/translate2.lm
@@ -12,7 +12,7 @@ def start2
[item2*]
context ctx
-{
+
lex
ignore /space+/
literal '*', '(', ')', '!', ';\n'
@@ -43,7 +43,8 @@ context ctx
def start
[A item* '!']
| [B item* ';\n']
-}
+
+end ctx
CTX: ctx = cons ctx []
parse InputP: ctx::start( CTX ) [ stdin ]