[OpenSCAD] Parser funnyness

Elmo elmo.mantynen at iki.fi
Fri Mar 25 13:17:57 CET 2011


This simple code doesn't work:
"""
var1 = 1;
var1 = 0 == 0 ? var1*5 : var1;
"""

this works:
"""
var1 = 1;
var2 = 0 == 0 ? var1*5 : var1;
"""

Not impossible to workaround, but annoying.

Using latest version from github.

Elmo


More information about the OpenSCAD mailing list