You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to parse ident_index with non-matching string, the error ParsingError { positives: [ident], negatives: [] } is produced. How should I specify wether the expected rule is ident_index or ident (or both as in value)?
The only way to do it is marking ident_index as atomic (@). But my goal is to produce rule ident_index with inner: [ident, integer] and with spaces allowed between rules.
Maybe it will be useful to add modifier that will act as normal rule, but will produce itself on rule mismatch within.
The text was updated successfully, but these errors were encountered:
With the following peg file:
I'm trying to parse
ident_index
with non-matching string, the errorParsingError { positives: [ident], negatives: [] }
is produced. How should I specify wether the expected rule isident_index
orident
(or both as invalue
)?The only way to do it is marking
ident_index
as atomic (@). But my goal is to produce ruleident_index
with inner: [ident
,integer
] and with spaces allowed between rules.Maybe it will be useful to add modifier that will act as normal rule, but will produce itself on rule mismatch within.
The text was updated successfully, but these errors were encountered: