Commit ae3fa6e9 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

vtkParse: regenerate lex.yy.c

Changes are made for cppcheck, so regenerate to minimize the fix's diff.

Change-Id: I33575fcade48b23a51d0671eaaae989df657b020
parent d6d6e8fc
...@@ -1865,8 +1865,11 @@ Modify lex.yy.c: ...@@ -1865,8 +1865,11 @@ Modify lex.yy.c:
- convert tabs to spaces (8 spaces per tab) - convert tabs to spaces (8 spaces per tab)
- remove extra space from end of lines - remove extra space from end of lines
- remove blank lines from end of file - remove blank lines from end of file
- replace "int yyl" with "yy_size_t yyl" - replace "int yyl;" with "yy_size_t yyl;"
- compile with gcc and "-Wsign-compare", there should be no warnings - compile with gcc and "-Wsign-compare", there should be no warnings
- replace "#line" lines with blank lines
- remove usage of the "register" keyword
- add a prototype for isatty
*/ */
......
...@@ -13,8 +13,11 @@ Modify lex.yy.c: ...@@ -13,8 +13,11 @@ Modify lex.yy.c:
- convert tabs to spaces (8 spaces per tab) - convert tabs to spaces (8 spaces per tab)
- remove extra space from end of lines - remove extra space from end of lines
- remove blank lines from end of file - remove blank lines from end of file
- replace "int yyl" with "yy_size_t yyl" - replace "int yyl;" with "yy_size_t yyl;"
- compile with gcc and "-Wsign-compare", there should be no warnings - compile with gcc and "-Wsign-compare", there should be no warnings
- replace "#line" lines with blank lines
- remove usage of the "register" keyword
- add a prototype for isatty
*/ */
......
This diff is collapsed.
...@@ -18,14 +18,15 @@ ...@@ -18,14 +18,15 @@
This file must be translated to C and modified to build everywhere. This file must be translated to C and modified to build everywhere.
Run yacc like this: Run bison like this:
yacc -b vtkParse vtkParse.y bison -b vtkParse vtkParse.y
Modify vtkParse.tab.c: Modify vtkParse.tab.c:
- convert TABs to spaces (eight per tab) - convert TABs to spaces (eight per tab)
- remove spaces from ends of lines, s/ *$//g - remove spaces from ends of lines, s/ *$//g
- replace all instances of "static inline" with "static". - replace all instances of "static inline" with "static".
- replace "#line" lines with blank lines
*/ */
/* /*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment