diff options
Diffstat (limited to 'antlr-3.4/runtime/JavaScript/tests/functional/t058rewriteAST48.g')
-rwxr-xr-x | antlr-3.4/runtime/JavaScript/tests/functional/t058rewriteAST48.g | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/antlr-3.4/runtime/JavaScript/tests/functional/t058rewriteAST48.g b/antlr-3.4/runtime/JavaScript/tests/functional/t058rewriteAST48.g new file mode 100755 index 0000000..089ca43 --- /dev/null +++ b/antlr-3.4/runtime/JavaScript/tests/functional/t058rewriteAST48.g @@ -0,0 +1,8 @@ + +grammar t058rewriteAST48; +options {language=JavaScript;output=AST;} +tokens {BLOCK;} +a : x=b -> ^($x $x); +b : ID ; +ID : 'a'..'z'+ ; +WS : (' '|'\n') {$channel=HIDDEN;} ;
\ No newline at end of file |