Document removal of 'register' from flex/bison output
In each .l and .y input file that has instructions for manual transformation of the output to include a step to remove the 'register' storage specifier.
This commit is contained in:
parent
1399825cf9
commit
e1381b1fc6
|
@ -22,6 +22,7 @@ Modify cmCommandArgumentLexer.cxx:
|
||||||
- add #include "cmStandardIncludes.h" to top of file
|
- add #include "cmStandardIncludes.h" to top of file
|
||||||
- put header block at top of file
|
- put header block at top of file
|
||||||
- remove TABs
|
- remove TABs
|
||||||
|
- remove use of the 'register' storage class specifier
|
||||||
- remove "yyscanner" argument from these methods:
|
- remove "yyscanner" argument from these methods:
|
||||||
yy_fatal_error, cmCommandArgument_yyalloc, cmCommandArgument_yyrealloc, cmCommandArgument_yyfree
|
yy_fatal_error, cmCommandArgument_yyalloc, cmCommandArgument_yyrealloc, cmCommandArgument_yyfree
|
||||||
- remove all YY_BREAK lines occurring right after return statements
|
- remove all YY_BREAK lines occurring right after return statements
|
||||||
|
|
|
@ -20,6 +20,7 @@ Run bison like this:
|
||||||
|
|
||||||
Modify cmCommandArgumentParser.cxx:
|
Modify cmCommandArgumentParser.cxx:
|
||||||
- remove TABs
|
- remove TABs
|
||||||
|
- remove use of the 'register' storage class specifier
|
||||||
- put header block at top of file
|
- put header block at top of file
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -30,6 +30,7 @@ Run flex like this:
|
||||||
|
|
||||||
Modify cmDependsFortranLexer.cxx:
|
Modify cmDependsFortranLexer.cxx:
|
||||||
- remove TABs
|
- remove TABs
|
||||||
|
- remove use of the 'register' storage class specifier
|
||||||
- remove "yyscanner" argument from these methods:
|
- remove "yyscanner" argument from these methods:
|
||||||
yy_fatal_error, cmDependsFortran_yyalloc, cmDependsFortran_yyrealloc, cmDependsFortran_yyfree
|
yy_fatal_error, cmDependsFortran_yyalloc, cmDependsFortran_yyrealloc, cmDependsFortran_yyfree
|
||||||
- remove "yyscanner = NULL" from end of cmDependsFortran_yylex_destroy
|
- remove "yyscanner = NULL" from end of cmDependsFortran_yylex_destroy
|
||||||
|
|
|
@ -33,6 +33,7 @@ Run bison like this:
|
||||||
|
|
||||||
Modify cmDependsFortranParser.cxx:
|
Modify cmDependsFortranParser.cxx:
|
||||||
- remove TABs
|
- remove TABs
|
||||||
|
- remove use of the 'register' storage class specifier
|
||||||
- Remove the yyerrorlab block in range ["goto yyerrlab1", "yyerrlab1:"]
|
- Remove the yyerrorlab block in range ["goto yyerrlab1", "yyerrlab1:"]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ Run flex like this:
|
||||||
|
|
||||||
Modify cmDependsJavaLexer.c:
|
Modify cmDependsJavaLexer.c:
|
||||||
- remove TABs
|
- remove TABs
|
||||||
|
- remove use of the 'register' storage class specifier
|
||||||
- remove "yyscanner" argument from these methods:
|
- remove "yyscanner" argument from these methods:
|
||||||
yy_fatal_error, cmDependsJava_yyalloc, cmDependsJava_yyrealloc, cmDependsJava_yyfree
|
yy_fatal_error, cmDependsJava_yyalloc, cmDependsJava_yyrealloc, cmDependsJava_yyfree
|
||||||
- remove all YY_BREAK lines occurring right after return statements
|
- remove all YY_BREAK lines occurring right after return statements
|
||||||
|
|
|
@ -20,6 +20,7 @@ Run bison like this:
|
||||||
|
|
||||||
Modify cmDependsJavaParser.cxx:
|
Modify cmDependsJavaParser.cxx:
|
||||||
- remove TABs
|
- remove TABs
|
||||||
|
- remove use of the 'register' storage class specifier
|
||||||
- add __HP_aCC to the #if test for yyerrorlab warning suppression
|
- add __HP_aCC to the #if test for yyerrorlab warning suppression
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -20,6 +20,7 @@ Run flex like this:
|
||||||
|
|
||||||
Modify cmExprLexer.cxx:
|
Modify cmExprLexer.cxx:
|
||||||
- remove TABs
|
- remove TABs
|
||||||
|
- remove use of the 'register' storage class specifier
|
||||||
- remove "yyscanner" argument from these methods:
|
- remove "yyscanner" argument from these methods:
|
||||||
yy_fatal_error, cmExpr_yyalloc, cmExpr_yyrealloc, cmExpr_yyfree
|
yy_fatal_error, cmExpr_yyalloc, cmExpr_yyrealloc, cmExpr_yyfree
|
||||||
- remove all YY_BREAK lines occurring right after return statements
|
- remove all YY_BREAK lines occurring right after return statements
|
||||||
|
|
|
@ -20,6 +20,7 @@ Run bison like this:
|
||||||
|
|
||||||
Modify cmExprParser.cxx:
|
Modify cmExprParser.cxx:
|
||||||
- remove TABs
|
- remove TABs
|
||||||
|
- remove use of the 'register' storage class specifier
|
||||||
- add __HP_aCC to the #if test for yyerrorlab warning suppression
|
- add __HP_aCC to the #if test for yyerrorlab warning suppression
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -20,6 +20,7 @@ Run flex like this:
|
||||||
|
|
||||||
Modify cmListFileLexer.c:
|
Modify cmListFileLexer.c:
|
||||||
- remove TABs
|
- remove TABs
|
||||||
|
- remove use of the 'register' storage class specifier
|
||||||
- remove the yyunput function
|
- remove the yyunput function
|
||||||
- add a statement "(void)yyscanner;" to the top of these methods:
|
- add a statement "(void)yyscanner;" to the top of these methods:
|
||||||
yy_fatal_error, cmListFileLexer_yyalloc, cmListFileLexer_yyrealloc, cmListFileLexer_yyfree
|
yy_fatal_error, cmListFileLexer_yyalloc, cmListFileLexer_yyrealloc, cmListFileLexer_yyfree
|
||||||
|
|
Loading…
Reference in New Issue