turn on bison output file to see conflicts
This commit is contained in:
parent
d5ae35df60
commit
86c6243053
4
wscript
4
wscript
@ -3,12 +3,13 @@ import sys
|
||||
APP_NAME = "cxlc"
|
||||
|
||||
def options(opt):
|
||||
opt.load("compiler_c compiler_cxx");
|
||||
opt.load("compiler_c compiler_cxx flex bison");
|
||||
|
||||
def configure(conf):
|
||||
conf.load("compiler_c compiler_cxx flex bison");
|
||||
|
||||
def build(bld):
|
||||
bld.load("compiler_c compiler_cxx flex bison");
|
||||
sources = bld.path.ant_glob("src/**/*.c")
|
||||
sources += bld.path.ant_glob("src/**/*.cc")
|
||||
lexer_source = "src/parser/parser.l"
|
||||
@ -17,6 +18,7 @@ def build(bld):
|
||||
includes = ["src", "src/parser"]
|
||||
cflags = ["-Wall", "-O2"]
|
||||
cxxflags = cflags
|
||||
bld.env.BISONFLAGS += ["-v"]
|
||||
bld.program(
|
||||
features = ['c', 'cxx', 'cxxprogram'],
|
||||
source = sources,
|
||||
|
Loading…
x
Reference in New Issue
Block a user