aboutsummaryrefslogtreecommitdiff
path: root/runtime/JavaScript/tests/functional/t052importS7.g
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/JavaScript/tests/functional/t052importS7.g')
-rwxr-xr-xruntime/JavaScript/tests/functional/t052importS7.g11
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/JavaScript/tests/functional/t052importS7.g b/runtime/JavaScript/tests/functional/t052importS7.g
new file mode 100755
index 0000000..9483bdb
--- /dev/null
+++ b/runtime/JavaScript/tests/functional/t052importS7.g
@@ -0,0 +1,11 @@
+lexer grammar t052importS7;
+options {
+ language=JavaScript;
+}
+@members {
+ this.capture = function(t) {
+ this.gt052importM7.capture(t);
+ };
+}
+A : 'a' {this.capture("S.A ");} ;
+C : 'c' ;