1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 02:21:16 +02:00

Merge pull request #13126 from xokdvium/flex-full

libexpr: Improve lexer performance by using full scanner tables (-Cf)
This commit is contained in:
Jörg Thalheim 2025-05-02 10:28:37 +02:00 committed by GitHub
commit 95cf0d31df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -1,3 +1,4 @@
%option 8bit
%option reentrant bison-bridge bison-locations
%option align
%option noyywrap

View file

@ -112,6 +112,7 @@ lexer_tab = custom_target(
],
command : [
'flex',
'-Cf', # Use full scanner tables
'--outfile',
'@OUTPUT0@',
'--header-file=' + '@OUTPUT1@',