aboutsummaryrefslogtreecommitdiff
path: root/runtime/JavaScript/tests/functional/t002lexer.g
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/JavaScript/tests/functional/t002lexer.g')
-rwxr-xr-xruntime/JavaScript/tests/functional/t002lexer.g7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/JavaScript/tests/functional/t002lexer.g b/runtime/JavaScript/tests/functional/t002lexer.g
new file mode 100755
index 0000000..2b2e132
--- /dev/null
+++ b/runtime/JavaScript/tests/functional/t002lexer.g
@@ -0,0 +1,7 @@
+lexer grammar t002lexer;
+options {
+ language = JavaScript;
+}
+
+ZERO: '0';
+ONE: '1';