summaryrefslogtreecommitdiff
path: root/gdb/go-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/go-lang.c')
-rw-r--r--gdb/go-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/go-lang.c b/gdb/go-lang.c
index 96be458f352..84a366ac5ac 100644
--- a/gdb/go-lang.c
+++ b/gdb/go-lang.c
@@ -567,7 +567,7 @@ static const struct language_defn go_language_defn =
macro_expansion_no,
&exp_descriptor_c,
go_parse,
- go_error,
+ go_yyerror,
null_post_parser,
c_printchar, /* Print a character constant. */
c_printstr, /* Function to print string constant. */