mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Fix breakage introduced in rev.1.7. yystacksize and yysslim are global and
should be prefixed by YYPREFIX as well. Only relevant if -p <yyprefix> is used. Used in cases where multiple parsers are used in executable.
This commit is contained in:
parent
f69dfaede1
commit
c613a5e7dc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65572
@ -166,6 +166,10 @@ output_prefix()
|
||||
fprintf(code_file, "#define yyname %sname\n", symbol_prefix);
|
||||
++outline;
|
||||
fprintf(code_file, "#define yyrule %srule\n", symbol_prefix);
|
||||
++outline;
|
||||
fprintf(code_file, "#define yysslim %ssslim\n", symbol_prefix);
|
||||
++outline;
|
||||
fprintf(code_file, "#define yystacksize %sstacksize\n", symbol_prefix);
|
||||
}
|
||||
++outline;
|
||||
fprintf(code_file, "#define YYPREFIX \"%s\"\n", symbol_prefix);
|
||||
|
Loading…
Reference in New Issue
Block a user