aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/c-lang.c')
-rw-r--r--gdb/c-lang.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/c-lang.c b/gdb/c-lang.c
index d8d78fd..8192e97 100644
--- a/gdb/c-lang.c
+++ b/gdb/c-lang.c
@@ -835,7 +835,7 @@ const struct language_defn c_language_defn =
macro_expansion_c,
&exp_descriptor_c,
c_parse,
- c_error,
+ c_yyerror,
null_post_parser,
c_printchar, /* Print a character constant */
c_printstr, /* Function to print string constant */
@@ -962,7 +962,7 @@ const struct language_defn cplus_language_defn =
macro_expansion_c,
&exp_descriptor_c,
c_parse,
- c_error,
+ c_yyerror,
null_post_parser,
c_printchar, /* Print a character constant */
c_printstr, /* Function to print string constant */
@@ -1007,7 +1007,7 @@ const struct language_defn asm_language_defn =
macro_expansion_c,
&exp_descriptor_c,
c_parse,
- c_error,
+ c_yyerror,
null_post_parser,
c_printchar, /* Print a character constant */
c_printstr, /* Function to print string constant */
@@ -1057,7 +1057,7 @@ const struct language_defn minimal_language_defn =
macro_expansion_c,
&exp_descriptor_c,
c_parse,
- c_error,
+ c_yyerror,
null_post_parser,
c_printchar, /* Print a character constant */
c_printstr, /* Function to print string constant */