diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-05-12 03:21:48 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-05-12 03:21:48 +0000 |
commit | 8db1a922914c22a21875e5238377dda17d34c21a (patch) | |
tree | 6a6f4d16f73953a9b94afbe01e2024bda36ec0ce /gdb/c-exp.y | |
parent | 7e16be786a221bf773e7911351a0352fb3a04d80 (diff) | |
download | gdb-8db1a922914c22a21875e5238377dda17d34c21a.zip gdb-8db1a922914c22a21875e5238377dda17d34c21a.tar.gz gdb-8db1a922914c22a21875e5238377dda17d34c21a.tar.bz2 |
Wed May 11 20:11:51 1994 Stan Shebs (shebs@andros.cygnus.com)
* c-exp.y (yyerror): Display a more informative error message.
* ch-exp.y (yyerror): Ditto, don't use global yychar.
* m2-exp.y (yyerror): Ditto.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r-- | gdb/c-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y index d559c11..c3befb7 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -1637,5 +1637,5 @@ void yyerror (msg) char *msg; { - error (msg ? msg : "Invalid syntax in expression."); + error ("A %s in expression, near `%s'.", (msg ? msg : "error"), lexptr); } |