codeplea / tinyexpr

tiny recursive descent expression parser, compiler, and evaluation engine for math expressions
https://codeplea.com/tinyexpr
zlib License
1.61k stars 245 forks source link

Use flexible array notation for te_expr #88

Open roblatham00 opened 2 years ago

roblatham00 commented 2 years ago

Newer gcc gets confused when malloc stores a bunch of memory in a one-element array. C99 "flexible array" notation achieves the same effect in a more standard way.