made a little mistake with the #else and #endif
This commit is contained in:
parent
8a8bb6cf10
commit
67819cfd6c
|
@ -586,9 +586,8 @@ ch_array(tpp, ex)
|
||||||
if (length == dim + 1) {
|
if (length == dim + 1) {
|
||||||
expr_warning(ex, "array is not null-terminated");
|
expr_warning(ex, "array is not null-terminated");
|
||||||
} else
|
} else
|
||||||
#else
|
|
||||||
if (length > dim + 1) {
|
|
||||||
#endif
|
#endif
|
||||||
|
if (length > dim + 1) {
|
||||||
expr_strict(ex, "too many initialisers");
|
expr_strict(ex, "too many initialisers");
|
||||||
}
|
}
|
||||||
length = dim;
|
length = dim;
|
||||||
|
|
Loading…
Reference in a new issue