We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94622a2 commit 09d9efbCopy full SHA for 09d9efb
cfgrammar/src/lib/yacc/parser.rs
@@ -2859,6 +2859,14 @@ Factor: ')' Expr ')';
2859
(
2860
"%start Expr
2861
%%
2862
+Expr:| Factor;
2863
+Factor: ')' Expr ')';
2864
+",
2865
+ (0, Span::new(20, 20)),
2866
+ ),
2867
+ (
2868
+ "%start Expr
2869
+%%
2870
Expr: Factor | %empty;
2871
Factor: ')' Expr ')';
2872
",
@@ -2872,6 +2880,14 @@ Factor: ')' Expr ')';
2880
2873
2881
(1, Span::new(30, 30)),
2874
2882
),
2883
2884
2885
2886
+Expr: Factor|;
2887
2888
2889
+ (1, Span::new(28, 28)),
2890
2875
2891
];
2876
2892
2877
2893
for (i, (src, (empty_pidx, empty_span))) in empty_prod_conflicts.iter().enumerate() {
0 commit comments