gengtype-lex.l: Remove -Wtraditional cruft.
2003-10-07 Kelley Cook <kcook@gcc.gnu.org> * gengtype-lex.l: Remove -Wtraditional cruft. * Makefile.in (gengtype-lex.c): Likewise. From-SVN: r72210
This commit is contained in:
parent
f05fd841fd
commit
39ca067c63
|
@ -1,3 +1,8 @@
|
|||
2003-10-07 Kelley Cook <kcook@gcc.gnu.org>
|
||||
|
||||
* gengtype-lex.l: Remove -Wtraditional cruft.
|
||||
* Makefile.in (gengtype-lex.c): Likewise.
|
||||
|
||||
2003-10-07 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
|
||||
|
||||
* cfgloopmanip.c (fix_irreducible_loops): Initialize e correctly.
|
||||
|
|
|
@ -2203,11 +2203,8 @@ gengtype-yacc.o : $(parsedir)/gengtype-yacc.c gengtype.h $(BCONFIG_H) $(SYSTEM_H
|
|||
$(CC_FOR_BUILD) -c $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $(INCLUDES) \
|
||||
$(parsedir)/gengtype-yacc.c $(OUTPUT_OPTION)
|
||||
|
||||
# The sed command works around a bug in flex-2.5.4.
|
||||
$(parsedir)/gengtype-lex.c : $(srcdir)/gengtype-lex.l
|
||||
$(FLEX) $(FLEXFLAGS) -t -o- $(srcdir)/gengtype-lex.l | \
|
||||
sed 's/^\(char msg\[\];\)/yyconst \1/' > g-$$$$ ; \
|
||||
if test $$? -eq 0 ; then \
|
||||
if $(FLEX) $(FLEXFLAGS) -o g-$$$$ $(srcdir)/gengtype-lex.l; then \
|
||||
mv -f g-$$$$ $(parsedir)/gengtype-lex.c ; \
|
||||
else \
|
||||
rm -f g-$$$$ ; \
|
||||
|
|
|
@ -30,9 +30,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|||
#include "gengtype.h"
|
||||
#include "gengtype-yacc.h"
|
||||
|
||||
#undef YY_USE_PROTOS
|
||||
#define YY_DECL int yylex ()
|
||||
|
||||
static void update_lineno (const char *l, size_t len);
|
||||
|
||||
struct fileloc lexer_line;
|
||||
|
|
Loading…
Reference in New Issue