Make out and error streams be per UI
[deliverable/binutils-gdb.git] / gdb / opencl-lang.c
index dfb68c0fa8749eea90b2f94940f7597b2346d7c5..767d3bc73e0236dbb2f512a5dce466ae77317fe6 100644 (file)
@@ -984,7 +984,7 @@ Cannot perform conditional operation on vectors with different sizes"));
                                                "structure");
 
            if (noside == EVAL_AVOID_SIDE_EFFECTS)
-             v = value_zero (value_type (v), not_lval);
+             v = value_zero (value_type (v), VALUE_LVAL (v));
            return v;
          }
       }
@@ -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 */
This page took 0.025422 seconds and 4 git commands to generate.