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_files 1 | String | ✗ |
Example
%grmtools{yacckind: Grmtools}
%%
Start: ;
-
String containing a glob relative to the yacc
.y
source file, experimental. ↩