Minor fix in error message
This commit is contained in:
parent
e960c8cba3
commit
b0ea434716
@ -502,7 +502,7 @@ code_declaration(idf, expr, lvl, sc)
|
|||||||
break;
|
break;
|
||||||
case EXTERN:
|
case EXTERN:
|
||||||
if (expr && !is_anon_idf(idf) && level != L_GLOBAL)
|
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);
|
, idf->id_text);
|
||||||
case GLOBAL:
|
case GLOBAL:
|
||||||
/* we are sure there is no expression */
|
/* we are sure there is no expression */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user