aboutsummaryrefslogtreecommitdiff
path: root/runtime/Python/tests/t048rewrite2.g
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/Python/tests/t048rewrite2.g')
-rw-r--r--runtime/Python/tests/t048rewrite2.g12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/Python/tests/t048rewrite2.g b/runtime/Python/tests/t048rewrite2.g
new file mode 100644
index 0000000..f98251c
--- /dev/null
+++ b/runtime/Python/tests/t048rewrite2.g
@@ -0,0 +1,12 @@
+lexer grammar t048rewrite2;
+options {
+ language=Python;
+}
+
+ID : 'a'..'z'+;
+INT : '0'..'9'+;
+SEMI : ';';
+PLUS : '+';
+MUL : '*';
+ASSIGN : '=';
+WS : ' '+;