Nick Glencross <[EMAIL PROTECTED]> wrote:

> This patch fixes a problem which can occur in this example:

> .sub test
>         .const float a = 12
>         print a
>         print_newline
> .end

Ah yep.

>
> +    if (t != 'P' && t != val->set)
> +        IMCC_fataly(interp, E_TypeError,
> +                    "const types do not match");

I think, we could be a bit more graceful here for I/N mismatch and set
for the above case the constant val->set to 'N'.

leo

Reply via email to