diff --git a/direct/src/dcparser/dcParser.cxx.prebuilt b/direct/src/dcparser/dcParser.cxx.prebuilt index 6f4f167302..aeab2dc34c 100644 --- a/direct/src/dcparser/dcParser.cxx.prebuilt +++ b/direct/src/dcparser/dcParser.cxx.prebuilt @@ -179,7 +179,7 @@ dc_cleanup_parser() { # endif # endif -#include "dcParser.yxx.h" +#include "dcParser.h" /* Symbol kind. */ enum yysymbol_kind_t { diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index d5040c9049..a0d50d60b1 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -1571,9 +1571,9 @@ def CompileBison(wobj, wsrc, opts): else: exit('Could not find bison!') else: - oscmd(bison + ' -y -d -o'+GetOutputDir()+'/tmp/'+ifile+'.c -p '+pre+' '+wsrc) - CopyFile(wdstc, GetOutputDir()+"/tmp/"+ifile+".c") - CopyFile(wdsth, GetOutputDir()+"/tmp/"+ifile+".h") + oscmd(bison + ' -y -d -o'+GetOutputDir()+'/tmp/'+ifile[:-4]+'.c -p '+pre+' '+wsrc) + CopyFile(wdstc, GetOutputDir()+"/tmp/"+ifile[:-4]+".c") + CopyFile(wdsth, GetOutputDir()+"/tmp/"+ifile[:-4]+".h") # Finally, compile the generated source file. CompileCxx(wobj, wdstc, opts + ["FLEX"]) diff --git a/panda/src/egg/parser.cxx.prebuilt b/panda/src/egg/parser.cxx.prebuilt index c926fcbc45..7a4e38db41 100644 --- a/panda/src/egg/parser.cxx.prebuilt +++ b/panda/src/egg/parser.cxx.prebuilt @@ -253,7 +253,7 @@ eggyywarning(YYLTYPE *loc, EggParserState &state, yyscan_t scanner, const string # endif # endif -#include "parser.yxx.h" +#include "parser.h" /* Symbol kind. */ enum yysymbol_kind_t {