documentation for nofailpass
This commit is contained in:
parent
005da7cd1f
commit
5f469c15ac
@ -33,7 +33,8 @@ error propagation.
|
|||||||
- `nokw`: no keyword. Prevents the rule from matching text that matches a defined kw rule. Essential for
|
- `nokw`: no keyword. Prevents the rule from matching text that matches a defined kw rule. Essential for
|
||||||
distinguishing identifiers from keywords (e.g., ensuring var is not parsed as a variable name).
|
distinguishing identifiers from keywords (e.g., ensuring var is not parsed as a variable name).
|
||||||
- `failpass`: pass failure. If this rule fails to parse, the error is reported as a failure of the parent rule,
|
- `failpass`: pass failure. If this rule fails to parse, the error is reported as a failure of the parent rule,
|
||||||
not this specific rule.
|
not this specific rule. Alias definitions are failpass by default.
|
||||||
|
- `nofailpass`: discards automatic failpass, e.g. for alias definitions.
|
||||||
|
|
||||||
## Expressions
|
## Expressions
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user