Fix issue#320: Bug in haxe generator

After fix: 
make "Assign statement for variable" to 1;
we got 
var float:Float = 1;

make "Assign statement for variable" to true or false;
we got 
var t:Bool = true;
var f:Bool = false;