mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Removed redundant -y flag from bison flags
Added -t -v to the yacc/bison flags when --debug is used. Additionally, we now grab $(YACCFLAGS) from the environment/command-line to get more yacc diagnostics [SVN r18379]
This commit is contained in:
@@ -381,9 +381,16 @@ yacc ?= [ GLOB $(PATH) : bison bison.exe ] ;
|
||||
yacc = $(yacc[1]) ;
|
||||
switch $(yacc:D=:S=)
|
||||
{
|
||||
case bison : yacc += -y -d --yacc ; # -t -l -v ;
|
||||
case bison : yacc += -d --yacc ; # -t -l -v ;
|
||||
case yacc : yacc += -d ;
|
||||
}
|
||||
|
||||
if $(debug)
|
||||
{
|
||||
yacc += -t -v ;
|
||||
}
|
||||
yacc += $(YACCFLAGS) ;
|
||||
|
||||
rule .yacc
|
||||
{
|
||||
DEPENDS $(<) : $(>) ;
|
||||
|
||||
@@ -381,9 +381,16 @@ yacc ?= [ GLOB $(PATH) : bison bison.exe ] ;
|
||||
yacc = $(yacc[1]) ;
|
||||
switch $(yacc:D=:S=)
|
||||
{
|
||||
case bison : yacc += -y -d --yacc ; # -t -l -v ;
|
||||
case bison : yacc += -d --yacc ; # -t -l -v ;
|
||||
case yacc : yacc += -d ;
|
||||
}
|
||||
|
||||
if $(debug)
|
||||
{
|
||||
yacc += -t -v ;
|
||||
}
|
||||
yacc += $(YACCFLAGS) ;
|
||||
|
||||
rule .yacc
|
||||
{
|
||||
DEPENDS $(<) : $(>) ;
|
||||
|
||||
Reference in New Issue
Block a user