]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/parser.y
Work around wxNotebook or Motif or wxMotif bug.
[wxWidgets.git] / src / common / parser.y
index d81dd0ca969245cfcf5aee5a72b5ece33873be68..c922f8c04a8df2f8f1a419f2e019e6463b56e209 100644 (file)
@@ -97,6 +97,7 @@ arg   :       WORD EQUALS arg1
                          free($1); }
        |       arg1
                        {$$ = $1; }
+       ;
 
 arg1   :       WORD
                        {$$ = wxmake_word($1); free($1);}
@@ -124,13 +125,13 @@ arg1      :       WORD
  * for example, cross compilation. */
 #if (defined(__WXGTK__) || defined(__WXWINE__) || defined(__WXMOTIF__)) || defined(__WX_SETUP_H__) && !defined(NO_CONFIGURE)
 #include "lexer.c"
-#else
-#if (defined(__MWERKS__))
+#elif defined(__WXMAC__) && defined(__APPLE__)
+#include "lexer.c"
+#elif defined(__MWERKS__)
 #include "../common/cwlex_yy.c"
 #else
 #include "../common/lex_yy.c"
 #endif
-#endif
 
 /*
 void yyerror(s)