Yacc Extensions
At the beginning of a .y file is a %grmtools{} section, by default this section is required.
But a default can be set or forced by using a YaccKindResolver.
| Flag | Value | Required |
|---|---|---|
yacckind | YaccKind | ✓ |
recoverykind | RecoveryKind | ✗ |
test_files1 | Array of string values | ✗ |
Example
%grmtools{yacckind: Grmtools}
%%
Start: ;
-
Strings containing globs are resolved relative to the yacc
.ysource file.test_filesis currently experimental. ↩