aboutsummaryrefslogtreecommitdiff
path: root/runtime/JavaScript/tests/functional/t043synpred.g
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2018-08-27 15:40:48 -0700
committerHaibo Huang <hhb@google.com>2018-08-28 18:29:30 +0000
commit03f1b3ca375368a58cdb917387c241167c0a3766 (patch)
tree8cacab926d75eb6906a1c6c4c18489648e264709 /runtime/JavaScript/tests/functional/t043synpred.g
parentf27dca5549129b36ac3de86c253a769844c9dcc0 (diff)
downloadantlr-03f1b3ca375368a58cdb917387c241167c0a3766.tar.gz
Move files in antlr to match upstream directory structure
Also update Android.bp to point to the new path. Test: m checkbuild Change-Id: I94322e3bcde0f576914f1c791f41c3091e372cdf
Diffstat (limited to 'runtime/JavaScript/tests/functional/t043synpred.g')
-rwxr-xr-xruntime/JavaScript/tests/functional/t043synpred.g14
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/JavaScript/tests/functional/t043synpred.g b/runtime/JavaScript/tests/functional/t043synpred.g
new file mode 100755
index 0000000..6293153
--- /dev/null
+++ b/runtime/JavaScript/tests/functional/t043synpred.g
@@ -0,0 +1,14 @@
+grammar t043synpred;
+options {
+ language = JavaScript;
+}
+
+a: ((s+ P)=> s+ b)? E;
+b: P 'foo';
+
+s: S;
+
+
+S: ' ';
+P: '+';
+E: '>';