Commit 39ca067c by Kelley Cook Committed by R. Kelley Cook

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
parent f05fd841
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment