3 # rebuild our heimdal lex/yacc files. Run this manually if you update heimdal
5 yaccfiles
="heimdal/lib/asn1/asn1parse.y heimdal/lib/hx509/sel-gram.y heimdal/lib/com_err/parse.y"
16 echo "Calling $YACC on $yfile"
19 base
=$
(basename $yfile .y
)
25 # -l specified because line directives cause more bother than they solve (issues with lcov finding the source files)
26 $YACC -l -d $yfile ||
exit 1
27 if [ -r y.tab.h
-a -r y.tab.c
];then
31 elif [ ! -r $base.h
-a ! -r $base.c
]; then
32 echo "$base.h nor $base.c generated."
40 for yfile
in $yaccfiles; do