summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-09-15 09:01:02 -0600
committerVinson Lee <[email protected]>2012-09-30 11:43:58 -0700
commite642d61d130b725c0c3efbc87f86a4968311ba2a (patch)
tree69ba0121eb744fe8f7e44a79f693ff61017379af /src/mesa
parentd9197f90372dec8a293d2d3e576261c6e3d38750 (diff)
scons: add new -p (prefix) options for yacc
These were recently added to the Makefiles. (cherry picked from commit e78ebbc5f9448d459b57884d90b0a6496294c1dd)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/SConscript b/src/mesa/SConscript
index 920b545a89b..dba75a26448 100644
--- a/src/mesa/SConscript
+++ b/src/mesa/SConscript
@@ -280,7 +280,7 @@ statetracker_sources = [
'state_tracker/st_texture.c',
]
-env.Append(YACCFLAGS = '-d')
+env.Append(YACCFLAGS = '-d -p "_mesa_program_"')
program_lex = env.CFile('program/lex.yy.c', 'program/program_lexer.l')
program_parse = env.CFile('program/program_parse.tab.c',
'program/program_parse.y')