summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-06-05 13:19:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-06-05 13:19:27 (GMT)
commit937afc6b9b8246ae6eb4f80279ba1af140d50fdd (patch)
tree86224818b4cb8cb95fdbb48342bdb52e5e53a8bd
parent7b6f03423dfa90499faf04f7d6b9dba561bb95ef (diff)
downloadCMake-937afc6b9b8246ae6eb4f80279ba1af140d50fdd.zip
CMake-937afc6b9b8246ae6eb4f80279ba1af140d50fdd.tar.gz
CMake-937afc6b9b8246ae6eb4f80279ba1af140d50fdd.tar.bz2
ENH: fix for aix
-rw-r--r--Source/cmCommandArgumentLexer.cxx2
-rw-r--r--Source/cmCommandArgumentLexer.in.l1
2 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmCommandArgumentLexer.cxx b/Source/cmCommandArgumentLexer.cxx
index 88dc98a..4881171 100644
--- a/Source/cmCommandArgumentLexer.cxx
+++ b/Source/cmCommandArgumentLexer.cxx
@@ -1,3 +1,5 @@
+#include "cmStandardIncludes.h"
+
#line 2 "cmCommandArgumentLexer.cxx"
#line 4 "cmCommandArgumentLexer.cxx"
diff --git a/Source/cmCommandArgumentLexer.in.l b/Source/cmCommandArgumentLexer.in.l
index f5d025b..8425c00 100644
--- a/Source/cmCommandArgumentLexer.in.l
+++ b/Source/cmCommandArgumentLexer.in.l
@@ -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