Skip to content
Snippets Groups Projects
Forked from CMake / CMake
16984 commits behind the upstream repository.
  • Oleksandr Koval's avatar
    62d7acc6
    cmCommandArgumentParserHelper: rework input handling · 62d7acc6
    Oleksandr Koval authored
    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.
    62d7acc6
    History
    cmCommandArgumentParserHelper: rework input handling
    Oleksandr Koval authored
    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.
cmCommandArgumentLexer.in.l 4.03 KiB