boxes/test/168_parent_keyword_in_sample_ok.cfg
Thomas Jensen 2d3a842728
Refactor lexer and parser for maintainability
- Speedmode is now purely a parser thing
- Lexer start condition SPEEDMODE is no longer needed
- Added lexer start condition BOX to distinguish box def content
- DELIMs are now purely a lexer thing
- No shared state between lexer and parser for DELIMs anymore
- Fix bug where speedmode could terminate in a SAMPLE block
- All lexer start conditions now exclusive
- Improved debug output
- Renamed parser token YDELWORD to YDELIMSPEC
2021-06-13 22:34:53 +02:00

34 lines
245 B
INI

BOX designA
sample
A mentions the word parent THIS_IS_NOT_A_CONFIG_FILE
ends
shapes {
w ("A")
}
elastic (
w
)
END designA
BOX designB
sample
B is the one we select
ends
shapes {
w ("B")
}
elastic (
w
)
END designB