1
0

documentation for nofailpass

This commit is contained in:
Arpad Ryszka 2026-06-06 06:35:38 +02:00
parent 005da7cd1f
commit 5f469c15ac

View File

@ -33,7 +33,8 @@ error propagation.
- `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).
- `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