Skip to content
  • Oleksandr Koval's avatar
    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