aboutsummaryrefslogtreecommitdiff
path: root/gdb/opencl-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/opencl-lang.c')
-rw-r--r--gdb/opencl-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/opencl-lang.c b/gdb/opencl-lang.c
index dfb68c0..7799735 100644
--- a/gdb/opencl-lang.c
+++ b/gdb/opencl-lang.c
@@ -1054,7 +1054,7 @@ const struct language_defn opencl_language_defn =
macro_expansion_c,
&exp_descriptor_opencl,
c_parse,
- c_error,
+ c_yyerror,
null_post_parser,
c_printchar, /* Print a character constant */
c_printstr, /* Function to print string constant */