diff options
author | Carl Worth <[email protected]> | 2013-12-19 15:14:19 -0800 |
---|---|---|
committer | Carl Worth <[email protected]> | 2014-01-02 14:15:24 -0800 |
commit | 61cea49014df6dcf3aa41ad18b2e998e6921320f (patch) | |
tree | 777f98c774da40496bc4d03e024631e20dab66f2 /docs/lists.html | |
parent | 5a51c1b01a16d3256f9769a76d8293fea5853b1f (diff) |
glcpp: Add a more descriptive comment for the SKIP state manipulation
Two things make this code confusing:
1. The uncharacteristic manipulation of lexer start state outside of
flex rules.
2. The confusing semantics of the skip_stack (including the
"lexing_if" override and the SKIP_NO_SKIP state).
This new comment is intended to bring a bit more clarity for any readers.
There is no intended beahvioral change to the code here. The actual code
changes include better indentation to avoid an excessively-long line, and
using the more descriptive INITIAL rather than 0.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'docs/lists.html')
0 files changed, 0 insertions, 0 deletions