2020-01-23
2020-01-23 09:44:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
664cad4793ee0cc6e4ad23a3ed95c31de68499f4
(3 lines)
(+2/-1)
[
Show
| Annotate
]
Branch: master
Compiler: Fixed typechecker typo.
2038: Inside #if 0 /* Does not work for multiplication. */
if (str_width != 32) {
type_stack_mark();
push_int_type(0, (1<<str_width)-1);
- push_type(T_STRING);
+ push_unlimited_array_type(T_STRING);
free_type(n->type);
n->type = pop_unfinished_type();
}