Make header to  be main output for ypp subgraph
@@ -2020,7 +2020,7 @@ macro _SRC("xs", SRC, SRCFLAGS...) {
macro _SRC("y", SRC, SRCFLAGS...) {
# .CMD=${tool:"contrib/tools/byacc"} $BYACC_FLAGS ${noext;output:SRC.cpp} ${input:SRC} ${noext;hide;output;addincl:SRC.h} ${kv;hide:"p YC"} ${kv;hide:"pc light-green"}
- .CMD=${tool:"contrib/tools/bison/bison"} $BISON_FLAGS --m4=${tool:"contrib/tools/bison/m4"} -d -o ${noext;output:SRC.cpp} ${input:SRC} ${SRCFLAGS} && $YMAKE_PYTHON ${input:"build/scripts/preprocess.py"} ${noext;output;addincl:SRC.h} ${kv;hide:"p YC"} ${kv;hide:"pc light-green"}
+ .CMD=${tool:"contrib/tools/bison/bison"} $BISON_FLAGS --m4=${tool:"contrib/tools/bison/m4"} -d -o ${noext;output;main;hide:SRC.h} ${noext;output:SRC.cpp} ${input:SRC} ${SRCFLAGS} && $YMAKE_PYTHON ${input:"build/scripts/preprocess.py"} ${noext;output;addincl:SRC.h} ${kv;hide:"p YC"} ${kv;hide:"pc light-green"}
}
macro _SRC("ypp", SRC, SRCFLAGS...) {
