mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-20 21:28:23 -05:00
62d7acc6d4
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.
2.7 KiB
2.7 KiB