diff options
author | Sadaf Ebrahimi <sadafebrahimi@google.com> | 2022-05-05 18:49:36 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-05-05 18:49:36 +0000 |
commit | 4c769ea5ef1f4d2fb2001b1a77a03671422954c3 (patch) | |
tree | 9ba69b307a17b6d4b5410fce4e058f24f99504d7 /runtime/CSharp3/Sources/Antlr3.Runtime.Test/Composition/Simplify.g3 | |
parent | d6854b78cd0ed8288f8d81970eff353d2176be24 (diff) | |
parent | c3c511bc0332191977a83e153c70176913bd0ca0 (diff) | |
download | antlr-4c769ea5ef1f4d2fb2001b1a77a03671422954c3.tar.gz |
Merge "Updating antlr 3.5.2 to antlr 3.5.3" am: 49ada8cca6 am: 439abe4f67 am: 14aa962455 am: c3c511bc03
Original change: https://android-review.googlesource.com/c/platform/external/antlr/+/2086203
Change-Id: I9fef9b1d5dbe71f5296ed4eb1cd60472b6851a41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'runtime/CSharp3/Sources/Antlr3.Runtime.Test/Composition/Simplify.g3')
-rw-r--r-- | runtime/CSharp3/Sources/Antlr3.Runtime.Test/Composition/Simplify.g3 | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/runtime/CSharp3/Sources/Antlr3.Runtime.Test/Composition/Simplify.g3 b/runtime/CSharp3/Sources/Antlr3.Runtime.Test/Composition/Simplify.g3 deleted file mode 100644 index f1c2550..0000000 --- a/runtime/CSharp3/Sources/Antlr3.Runtime.Test/Composition/Simplify.g3 +++ /dev/null @@ -1,20 +0,0 @@ -tree grammar Simplify; - -options { - tokenVocab=VecMath; - ASTLabelType=CommonTree; - output=AST; - language=CSharp3; - filter=true; - //rewrite=true; -} - -@namespace{Antlr3.Runtime.Test.Composition} - -topdown - : ^( MULT INT ^(VEC (e+=.)+) ) -> ^(VEC ^(MULT INT $e)+) - ; - -bottomup - : ^(MULT a=. b=INT {$b.int==0}?) -> $b // x*0 -> 0 - ; |