kdelibs/kjs/create_parser
Ivailo Monev 39f1e04295 generic: add back khtml and kjs with some changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-09 23:23:53 +02:00

16 lines
313 B
Text
Executable file

#!/bin/sh
#
# A replacement for the make parser target until someone figures out
# how to do that in CMake.
#
bison -d -p kjsyy grammar.y && mv grammar.tab.c grammar.cpp;
if test -f grammar.tab.h;
then
if cmp -s grammar.tab.h grammar.h; then rm -f grammar.tab.h;
else mv grammar.tab.h grammar.h;
fi
else :;
fi