Преглед изворни кода

Minor fix in error message

ceriel пре 30 година
родитељ
комит
77c44b0f04
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lang/cem/cemcom.ansi/code.c

+ 1 - 1
lang/cem/cemcom.ansi/code.c

@@ -502,7 +502,7 @@ code_declaration(idf, expr, lvl, sc)
 			break;
 		case EXTERN:
 			if (expr && !is_anon_idf(idf) && level != L_GLOBAL)
-				error("cannot initialize extern in block"
+				error("cannot initialize extern %s in block"
 						, idf->id_text);
 		case GLOBAL:
 			/* we are sure there is no expression */