aboutsummaryrefslogtreecommitdiff
path: root/antlr-3.4/runtime/JavaScript/tests/functional/t052importT5.g
diff options
context:
space:
mode:
Diffstat (limited to 'antlr-3.4/runtime/JavaScript/tests/functional/t052importT5.g')
-rwxr-xr-xantlr-3.4/runtime/JavaScript/tests/functional/t052importT5.g11
1 files changed, 11 insertions, 0 deletions
diff --git a/antlr-3.4/runtime/JavaScript/tests/functional/t052importT5.g b/antlr-3.4/runtime/JavaScript/tests/functional/t052importT5.g
new file mode 100755
index 0000000..e7b1b47
--- /dev/null
+++ b/antlr-3.4/runtime/JavaScript/tests/functional/t052importT5.g
@@ -0,0 +1,11 @@
+parser grammar t052importT5;
+options {
+ language=JavaScript;
+}
+tokens { C; B; A; } /// reverse order
+@members {
+ this.capture = function(t) {
+ this.gt052importM5.capture(t);
+ };
+}
+y : A {this.capture("T.y");} ;