mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01: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:
commit
95cf0d31df
2 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
%option 8bit
|
||||||
%option reentrant bison-bridge bison-locations
|
%option reentrant bison-bridge bison-locations
|
||||||
%option align
|
%option align
|
||||||
%option noyywrap
|
%option noyywrap
|
||||||
|
|
|
@ -112,6 +112,7 @@ lexer_tab = custom_target(
|
||||||
],
|
],
|
||||||
command : [
|
command : [
|
||||||
'flex',
|
'flex',
|
||||||
|
'-Cf', # Use full scanner tables
|
||||||
'--outfile',
|
'--outfile',
|
||||||
'@OUTPUT0@',
|
'@OUTPUT0@',
|
||||||
'--header-file=' + '@OUTPUT1@',
|
'--header-file=' + '@OUTPUT1@',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue