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
This commit is contained in:
Alexandre Petit-Bianco 2000-07-22 04:36:13 +00:00 committed by Alexandre Petit-Bianco
parent ed7d4ce863
commit f4530f43e7
3 changed files with 17733 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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

17728
gcc/java/parse.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -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 ($$)));
}
;