Commit 9e46e5e8 by Kaveh R. Ghazi Committed by Kaveh Ghazi

Warning fixes:

        * Makefile.in (hash.h): Add -L KR-C -F ', 0, 0' flags to gperf.
        (gxx.gperf): Update comments describing invocation flags.
        (hash.h): Regenerate using gperf 2.7.1 (19981006 egcs).

From-SVN: r22888
parent d143a890
Wed Oct 7 12:32:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (hash.h): Add -L KR-C -F ', 0, 0' flags to gperf.
(gxx.gperf): Update comments describing invocation flags.
(hash.h): Regenerate using gperf 2.7.1 (19981006 egcs).
1998-10-07 Mark Mitchell <mark@markmitchell.com> 1998-10-07 Mark Mitchell <mark@markmitchell.com>
* class.c (finish_struct_1): Add commentary on prevous change. * class.c (finish_struct_1): Add commentary on prevous change.
......
...@@ -240,8 +240,8 @@ $(PARSE_C) : $(srcdir)/parse.y ...@@ -240,8 +240,8 @@ $(PARSE_C) : $(srcdir)/parse.y
# if gxx.gpref got touched, say. # if gxx.gpref got touched, say.
# Thus you have to remove hash.h to force it to be re-made. # Thus you have to remove hash.h to force it to be re-made.
$(srcdir)/hash.h: $(srcdir)/hash.h:
gperf -p -j1 -g -o -t -N is_reserved_word '-k1,4,7,$$' \ gperf -L KR-C -F ', 0, 0' -p -j1 -g -o -t -N is_reserved_word \
$(srcdir)/gxx.gperf >$(srcdir)/hash.h '-k1,4,7,$$' $(srcdir)/gxx.gperf >$(srcdir)/hash.h
spew.o : spew.c $(CONFIG_H) $(CXX_TREE_H) $(PARSE_H) $(srcdir)/../flags.h \ spew.o : spew.c $(CONFIG_H) $(CXX_TREE_H) $(PARSE_H) $(srcdir)/../flags.h \
lex.h $(srcdir)/../system.h $(srcdir)/../toplev.h lex.h $(srcdir)/../system.h $(srcdir)/../toplev.h
......
%{ %{
/* Command-line: gperf -p -j1 -g -o -t -N is_reserved_word -k1,4,$,7 gplus.gperf */ /* Command-line: gperf -L KR-C -F ', 0, 0' -p -j1 -g -o -t -N is_reserved_word -k1,4,$,7 gplus.gperf */
%} %}
struct resword { char *name; short token; enum rid rid;}; struct resword { char *name; short token; enum rid rid;};
%% %%
......
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