Hi Dennis,

> Le 14 oct. 2021 à 03:40, Dennis Clarke <dcla...@blastwave.org> a écrit :
> 
> *res = {
>    name  = 0x105c30 "<bad address 0x0000000000105c30>"
>    type  = 0
>    value = {
>        var = 0.0
>        fun = (nil)
>    }
>    next  = (nil)
> }

Really???  So it seems that strdup on this machine is dead broken.
And... strdup is also used in examples/c/glr/c++-types...

Please try the attached version.

Cheers!

Attachment: mfcalc.y
Description: Binary data

Reply via email to