mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
LexerParser: Do not use GNU Bison's yacc mode, we use Bison extensions
Silence Bison warnings regarding use of Bison extensions.
This commit is contained in:
committed by
Brad King
parent
4f9228a300
commit
5a8a61a798
@@ -22,7 +22,7 @@ do
|
||||
|
||||
if [[ (${in_file} -nt ${cxx_file}) || (${in_file} -nt ${h_file}) || (${forced} -gt 0) ]]; then
|
||||
echo "Generating Parser ${parser}"
|
||||
bison --yacc --name-prefix=${prefix} --defines=${h_file} -o${cxx_file} ${in_file}
|
||||
bison --name-prefix=${prefix} --defines=${h_file} -o${cxx_file} ${in_file}
|
||||
sed -i '/\/\* Else will try to reuse/ i\
|
||||
#if 0
|
||||
/^yyerrlab1:/ a\
|
||||
|
||||
Reference in New Issue
Block a user