+#include "config.h"
#line 3 "lex.yy.c"
/* Read in more data. */
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
- (yy_n_chars), num_to_read );
+ (yy_n_chars), (size_t) num_to_read );
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
}
+#include "config.h"
#line 3 "lex.yy.c"
TOP=`pwd`
if cd $dir && $LEX $file; then
if [ -r $base.yy.c ];then
- sed '/^#/ s|$base.yy\.c|$DEST|' $base.yy.c > $base.c
+ # we must guarantee that config.h comes first
+ echo "#include \"config.h\"" > $base.c
+ sed '/^#/ s|$base.yy\.c|$DEST|' $base.yy.c >> $base.c
rm -f $base.yy.c
fi
fi