summaryrefslogtreecommitdiffstats
path: root/Source/LexerParser/cmCommandArgumentParser.y
diff options
context:
space:
mode:
authorChristoph GrĂ¼ninger <foss@grueninger.de>2021-01-22 13:53:41 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-25 17:05:20 (GMT)
commit5a8a61a798c8ab915ec3cb0b05e108a0d5266254 (patch)
tree96d55068c80d601f36fc09ab81e48c40ce393de5 /Source/LexerParser/cmCommandArgumentParser.y
parent4f9228a3001dd104a19c5eced3dcb36eef7102f4 (diff)
downloadCMake-5a8a61a798c8ab915ec3cb0b05e108a0d5266254.zip
CMake-5a8a61a798c8ab915ec3cb0b05e108a0d5266254.tar.gz
CMake-5a8a61a798c8ab915ec3cb0b05e108a0d5266254.tar.bz2
LexerParser: Do not use GNU Bison's yacc mode, we use Bison extensions
Silence Bison warnings regarding use of Bison extensions.
Diffstat (limited to 'Source/LexerParser/cmCommandArgumentParser.y')
-rw-r--r--Source/LexerParser/cmCommandArgumentParser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/LexerParser/cmCommandArgumentParser.y b/Source/LexerParser/cmCommandArgumentParser.y
index 0c6aad5..1725b35 100644
--- a/Source/LexerParser/cmCommandArgumentParser.y
+++ b/Source/LexerParser/cmCommandArgumentParser.y
@@ -7,7 +7,7 @@ This file must be translated to C and modified to build everywhere.
Run bison like this:
- bison --yacc --name-prefix=cmCommandArgument_yy --defines=cmCommandArgumentParserTokens.h -ocmCommandArgumentParser.cxx cmCommandArgumentParser.y
+ bison --name-prefix=cmCommandArgument_yy --defines=cmCommandArgumentParserTokens.h -ocmCommandArgumentParser.cxx cmCommandArgumentParser.y
Modify cmCommandArgumentParser.cxx:
- "#if 0" out yyerrorlab block in range ["goto yyerrlab1", "yyerrlab1:"]