]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/c-exp.y
internal_error: remove need to pass __FILE__/__LINE__
[thirdparty/binutils-gdb.git] / gdb / c-exp.y
index 5a3569a7606d3910fa4fe5378b205c8b95df9216..2d010de8951a7c538dcca39341c426d1b5818236 100644 (file)
@@ -1036,8 +1036,7 @@ exp       :       string_exp
                                  break;
                                default:
                                  /* internal error */
-                                 internal_error (__FILE__, __LINE__,
-                                                 "unrecognized type in string concatenation");
+                                 internal_error ("unrecognized type in string concatenation");
                                }
                            }
 
@@ -3216,7 +3215,7 @@ classify_inner_name (struct parser_state *par_state,
     default:
       return NAME;
     }
-  internal_error (__FILE__, __LINE__, _("not reached"));
+  internal_error (_("not reached"));
 }
 
 /* The outer level of a two-level lexer.  This calls the inner lexer