Commit 9a469008 by Benjamin Kosnik

spew.c (yylex): Give diagnostic.

�
1998-09-24  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* spew.c (yylex): Give diagnostic.
	* hash.h (is_reserved_word): Add export.
	* gxx.gperf: Ditto.
	* lex.h (rid): Add RID_EXPORT.
	* lex.c (init_parse): Ditto.

From-SVN: r22580
parent 4880e218
......@@ -747,6 +747,9 @@ init_parse (filename)
ridpointers[(int) RID_EXPLICIT] = get_identifier ("explicit");
SET_IDENTIFIER_AS_LIST (ridpointers[(int) RID_EXPLICIT],
build_tree_list (NULL_TREE, ridpointers[(int) RID_EXPLICIT]));
ridpointers[(int) RID_EXPORT] = get_identifier ("export");
SET_IDENTIFIER_AS_LIST (ridpointers[(int) RID_EXPORT],
build_tree_list (NULL_TREE, ridpointers[(int) RID_EXPORT]));
ridpointers[(int) RID_FRIEND] = get_identifier ("friend");
SET_IDENTIFIER_AS_LIST (ridpointers[(int) RID_FRIEND],
build_tree_list (NULL_TREE, ridpointers[(int) RID_FRIEND]));
......
......@@ -59,6 +59,7 @@ enum rid
RID_FRIEND,
RID_VIRTUAL,
RID_EXPLICIT,
RID_EXPORT,
RID_SIGNED,
RID_AUTO,
RID_MUTABLE,
......
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