Commit f4530f43 by Alexandre Petit-Bianco Committed by Alexandre Petit-Bianco

parse.y (simple_name:): Fixed typo in error message.

2000-07-21  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (simple_name:): Fixed typo in error message.

(http://gcc.gnu.org/ml/gcc-patches/2000-07/msg00881.html)

From-SVN: r35186
parent ed7d4ce8
2000-07-21 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (simple_name:): Fixed typo in error message.
2000-07-21 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (java_complete_lhs): LOOP_EXPR:, SWITCH_EXPR: the node
or its first operand can be error marks.
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -644,7 +644,7 @@ simple_name:
identifier /* Default rule */
{
if (strchr (IDENTIFIER_POINTER (EXPR_WFL_NODE ($$)), '$'))
parse_error_context ($$, "Invalide name `%s'",
parse_error_context ($$, "Invalid type name `%s'",
IDENTIFIER_POINTER (EXPR_WFL_NODE ($$)));
}
;
......
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