Minor fix in error message

This commit is contained in:
ceriel 1994-06-02 10:54:13 +00:00
parent 96172158e5
commit 77c44b0f04

View file

@ -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 */