aboutsummaryrefslogtreecommitdiff
path: root/antlr-3.4/runtime/JavaScript/tests/functional/t057autoAST50.g
diff options
context:
space:
mode:
Diffstat (limited to 'antlr-3.4/runtime/JavaScript/tests/functional/t057autoAST50.g')
-rwxr-xr-xantlr-3.4/runtime/JavaScript/tests/functional/t057autoAST50.g7
1 files changed, 7 insertions, 0 deletions
diff --git a/antlr-3.4/runtime/JavaScript/tests/functional/t057autoAST50.g b/antlr-3.4/runtime/JavaScript/tests/functional/t057autoAST50.g
new file mode 100755
index 0000000..0589e39
--- /dev/null
+++ b/antlr-3.4/runtime/JavaScript/tests/functional/t057autoAST50.g
@@ -0,0 +1,7 @@
+grammar t057autoAST50;
+options {language=JavaScript;output=AST;}
+a : b ;
+b : ID INT ; // follow should see EOF
+ID : 'a'..'z'+ ;
+INT : '0'..'9'+;
+WS : (' '|'\n') {$channel=HIDDEN;} ;