Merge #35
35: More specific error for leading pipes r=matklad a=ammkrn
Re: #34; return a more detailed error message when counting an improperly placed leading pipe.
Co-authored-by: ammkrn <ammkrn@tuta.io>
diff --git a/rust.ungram b/rust.ungram
index d08ae24..ce8e936 100644
--- a/rust.ungram
+++ b/rust.ungram
@@ -390,9 +390,9 @@
lhs:Expr
op:(
'||' | '&&'
- | '==' | '!=' | '<=' | '>=' | '<' | '>'
- | '+' | '*' | '-' | '/' | '%' | '<<' | '>>' | '^' | '|' | '&'
- | '=' | '+=' | '/=' | '*=' | '%=' | '>>=' | '<<=' | '-=' | '|=' | '&=' | '^='
+ | '==' | '!=' | '<=' | '>=' | '<' | '>'
+ | '+' | '*' | '-' | '/' | '%' | '<<' | '>>' | '^' | '|' | '&'
+ | '=' | '+=' | '/=' | '*=' | '%=' | '>>=' | '<<=' | '-=' | '|=' | '&=' | '^='
)
rhs:Expr