arras-energy / gridlabd

Arras Energy simulator
https://www.arras.energy/
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

Missing = on #define does not cause an error when a space is present instead #219

Open dchassin opened 3 months ago

dchassin commented 3 months ago

The syntax for defining a global variable is

#define VAR=value

However, the following syntax also accepted, despite it not working as expected

#define VAR value

Recommend GLM loader checking for the presence of an = before calling global_setvar.