3
# generate lexer files from flex input files.
10
flex -o $TMPFILE pars0lex.l
12
# AIX needs its includes done in a certain order, so include "univ.i" first
13
# to be sure we get it right.
14
echo '#include "univ.i"' > $OUTFILE
16
# flex assigns a pointer to an int in one place without a cast, resulting in
17
# a warning on Win64. this adds the cast.
18
sed -e 's/int offset = (yy_c_buf_p) - (yytext_ptr);/int offset = (int)((yy_c_buf_p) - (yytext_ptr));/;' < $TMPFILE >> $OUTFILE