aboutsummaryrefslogtreecommitdiff
path: root/runtime/JavaScript/tests/functional/t057autoAST50.g
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2018-08-28 14:01:36 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-08-28 14:01:36 -0700
commitb3f47eb6ae3fd805a1ce98c5b5125cb8c443af05 (patch)
tree8cacab926d75eb6906a1c6c4c18489648e264709 /runtime/JavaScript/tests/functional/t057autoAST50.g
parent4eceaa33589c1f8277bd7ad48073da87d4134681 (diff)
parent32d1488b05603717c1bedd10d08bdde5587eca00 (diff)
downloadantlr-b3f47eb6ae3fd805a1ce98c5b5125cb8c443af05.tar.gz
Merge "Move files in antlr to match upstream directory structure" am: bbed35ef4b
am: 32d1488b05 Change-Id: I48c299878b3a8f74e98454268cb1d9da0d19ac74
Diffstat (limited to 'runtime/JavaScript/tests/functional/t057autoAST50.g')
-rwxr-xr-xruntime/JavaScript/tests/functional/t057autoAST50.g7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/JavaScript/tests/functional/t057autoAST50.g b/runtime/JavaScript/tests/functional/t057autoAST50.g
new file mode 100755
index 0000000..0589e39
--- /dev/null
+++ b/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;} ;