File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ grammar: |
33 %grmtools {
44 yacckind: Original(YaccOriginalActionKind::UserAction),
55 recoverer: RecoveryKind::None,
6- test_files: ["*.calc_input", "*.calc_input "],
6+ test_files: ["*.calc_input", "*.calc_input2 "],
77 }
88 %start Expr
99 %actiontype Result<u64, ()>
@@ -46,4 +46,6 @@ extra_files:
4646 1 + 2 * 3
4747 input2.calc_input: |
4848 (1 + 2) * 3
49+ input1.calc_input2: |
50+ 2 * 3
4951
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ grammar: |
33 %grmtools {
44 yacckind: Original(YaccOriginalActionKind::UserAction),
55 recoverer: RecoveryKind::None,
6- test_files: ["*.calc_input ", "*.bad_input"]
6+ test_files: ["*.valid_input ", "*.bad_input"]
77 }
88 %start Expr
99 %actiontype Result<u64, ()>
@@ -42,6 +42,7 @@ lexer: |
4242 \) ")"
4343 [\t\n ]+ ;
4444extra_files:
45+ input1.valid_input: |
46+ (1 + 2) * 3
4547 input1.bad_input: |
4648 (1 + 2 * 3
47-
You can’t perform that action at this time.
0 commit comments