curimit / SugarCpp

SugarCpp is a language which can compile to C++11.
135 stars 13 forks source link

variable declaration is not working #16

Closed ppwwyyxx closed 11 years ago

ppwwyyxx commented 11 years ago
a : int

compiles to

int a = ;

it seems that global_alloc.style should be AllocType.Declare rather that ALlocType.Equal

curimit commented 11 years ago

Thanks, this has been fixed…… I think I should pay attention to unit-test now....