boxes/test/131_multiple_parent_configs_ref_after_broken.txt
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

41 lines
906 B
Plaintext

:DESC
Check that a parent reference works when it is not at the top of a file, but further down.
Also check that a parent reference is not evaluated when encountered inside a BOX definition.
Also check that a valid parent reference is properly found even when the design right before it is broken. (This means
that speedmode is properly terminated.)
:ARGS
-f 131_data/B.cfg -l
:INPUT
:OUTPUT-FILTER
:EXPECTED
boxes: 131_data/B.cfg: line 32: entries SAMPLE, SHAPES, and ELASTIC are mandatory
boxes: 131_data/B.cfg: line 32: skipping to next design
boxes: 131_data/A.cfg: line 29: syntax error
boxes: 131_data/A.cfg: line 29: skipping to next design
3 Available Styles:
-------------------
Configuration Files:
- 131_data/B.cfg
- 131_data/A.cfg (parent)
designA:
A from config file B
parent 131_data/C.cfg
designB:
B from config file A
designC:
C from config file B
:EOF