aboutsummaryrefslogtreecommitdiff
path: root/driver/conflict_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'driver/conflict_test.go')
-rw-r--r--driver/conflict_test.go24
1 files changed, 16 insertions, 8 deletions
diff --git a/driver/conflict_test.go b/driver/conflict_test.go
index f507d4f..1f8914f 100644
--- a/driver/conflict_test.go
+++ b/driver/conflict_test.go
@@ -179,10 +179,14 @@ expr
| id
;
-whitespaces: "[\u{0009}\u{0020}]+" #skip;
-r1: 'r1';
-r2: 'r2';
-id: "[A-Za-z0-9_]+";
+whitespaces #skip
+ : "[\u{0009}\u{0020}]+";
+r1
+ : 'r1';
+r2
+ : 'r2';
+id
+ : "[A-Za-z0-9_]+";
`,
src: `a r2 b r1 c r1 d r2 e`,
cst: nonTermNode("expr",
@@ -226,10 +230,14 @@ expr
| id
;
-whitespaces: "[\u{0009}\u{0020}]+" #skip;
-r1: 'r1';
-r2: 'r2';
-id: "[A-Za-z0-9_]+";
+whitespaces #skip
+ : "[\u{0009}\u{0020}]+";
+r1
+ : 'r1';
+r2
+ : 'r2';
+id
+ : "[A-Za-z0-9_]+";
`,
src: `a r2 b r1 c r1 d r2 e`,
cst: nonTermNode("expr",