minor fixes
This commit is contained in:
parent
e67e59e56a
commit
7bb1897e98
|
@ -427,6 +427,7 @@ again:
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
state = End;
|
state = End;
|
||||||
|
ch = 'D';
|
||||||
PushBack();
|
PushBack();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -872,8 +872,11 @@ UseWarnings(df)
|
||||||
node_warning(
|
node_warning(
|
||||||
df->df_scope->sc_end,
|
df->df_scope->sc_end,
|
||||||
W_ORDINARY,
|
W_ORDINARY,
|
||||||
"identifier \"%s\" imported but not used/assigned",
|
"identifier \"%s\" imported but not %s",
|
||||||
df->df_idf->id_text);
|
df->df_idf->id_text,
|
||||||
|
df1->df_kind == D_VARIABLE ?
|
||||||
|
"used/assigned" :
|
||||||
|
"used");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue