diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-03-06 09:05:52 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-03-06 17:29:26 +0100 |
commit | 641e326303753575664ca146fee7e9148d6bf5cf (patch) | |
tree | 19189e6124277a9de3e44b02306f1605274786a6 /.travis.yml | |
parent | 192e9fdf77376a8303e4204046fd513446d840d7 (diff) | |
download | bison-641e326303753575664ca146fee7e9148d6bf5cf.tar.gz |
code: be robust to reference with invalid tags
Because we want to support $<a->b>$, we must accept -> in type tags,
and reject $<->$, as it is unfinished.
Reported by Ahcheong Lee.
* src/scan-code.l (yylex): Make sure "tag" does not end with -, since
-> does not close the tag.
* tests/input.at (Stray $ or @): Check this.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions