ENH: fix for aix

This commit is contained in:
Bill Hoffman 2007-06-05 09:19:27 -04:00
parent 7b6f03423d
commit 937afc6b9b
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#include "cmStandardIncludes.h"
#line 2 "cmCommandArgumentLexer.cxx"
#line 4 "cmCommandArgumentLexer.cxx"

View File

@ -24,6 +24,7 @@ Run flex like this:
flex --prefix=cmCommandArgument_yy --header-file=cmCommandArgumentLexer.h -ocmCommandArgumentLexer.cxx cmCommandArgumentLexer.in.l
Modify cmCommandArgumentLexer.cxx:
- add #include "cmStandardIncludes.h" to top of file
- remove TABs
- remove "yyscanner" argument from these methods:
yy_fatal_error, cmCommandArgument_yyalloc, cmCommandArgument_yyrealloc, cmCommandArgument_yyfree