diff options
Diffstat (limited to 'runtime/JavaScript/tests/functional/t056lexer1.g')
-rwxr-xr-x | runtime/JavaScript/tests/functional/t056lexer1.g | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/JavaScript/tests/functional/t056lexer1.g b/runtime/JavaScript/tests/functional/t056lexer1.g new file mode 100755 index 0000000..1578e2c --- /dev/null +++ b/runtime/JavaScript/tests/functional/t056lexer1.g @@ -0,0 +1,5 @@ +grammar t056lexer1; +options {language=JavaScript;} +a : A {this.xlog(this.input);} ; +A : '\\' 't' {this.setText(" ");} ; +WS : (' '|'\n') {$channel=HIDDEN;} ; |