prevent a voluntary crash and generate better code
This commit is contained in:
@@ -177,6 +177,7 @@ initializer(struct idf *idf; int sc;)
|
||||
:
|
||||
{ if (idf->id_def->df_type->tp_fund == FUNCTION) {
|
||||
error("illegal initialization of function");
|
||||
idf->id_def->df_type->tp_fund = ERRONEOUS;
|
||||
}
|
||||
}
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user