mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-15 03:10:41 +01:00
2d3a842728
- 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
34 lines
245 B
INI
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
|