scons: add new -p (prefix) options for yacc

These were recently added to the Makefiles.
This commit is contained in:
Brian Paul
2012-09-15 09:01:02 -06:00
parent 2f5f7bd687
commit e78ebbc5f9
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ env.Prepend(CPPPATH = [
# Make glcpp-parse.h and glsl_parser.h reachable from the include path.
env.Append(CPPPATH = [Dir('.').abspath, Dir('glcpp').abspath])
env.Append(YACCFLAGS = '-d')
env.Append(YACCFLAGS = '-d -p "glcpp_parser_"')
parser_env = env.Clone()
parser_env.Append(YACCFLAGS = [