diff options
Diffstat (limited to 'runtime/JavaScript/tests/functional/t058rewriteAST53.g')
-rwxr-xr-x | runtime/JavaScript/tests/functional/t058rewriteAST53.g | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/JavaScript/tests/functional/t058rewriteAST53.g b/runtime/JavaScript/tests/functional/t058rewriteAST53.g new file mode 100755 index 0000000..e0cb162 --- /dev/null +++ b/runtime/JavaScript/tests/functional/t058rewriteAST53.g @@ -0,0 +1,8 @@ + +grammar t058rewriteAST53; +options {language=JavaScript;output=AST;} +a : ID+ -> ID ID ID ; // works if 3 input IDs +op : '+'|'-' ; +ID : 'a'..'z'+ ; +INT : '0'..'9'+; +WS : (' '|'\n') {$channel=HIDDEN;} ;
\ No newline at end of file |