Skip to content
Snippets Groups Projects
Commit 62d7acc6 authored by Oleksandr Koval's avatar Oleksandr Koval
Browse files

cmCommandArgumentParserHelper: rework input handling

Old implementation uses involved Flex input management technique that
requires usage of obsolete YY_INPUT macro. This causes a lot of useless
allocations and byte-by-byte scanning. New implementation avoids those
hacks, it uses yy_scan_string() API to setup Flex input. Also it fixes
reporting of syntax error position and corresponding tests.
parent 9a0a5f84
No related branches found
No related tags found
No related merge requests found
Showing
with 49 additions and 61 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment