- if(str=="nil" || str=="null")
- return TYPE_NIL;
- else if(str=="time" || str==_("time"))
- return TYPE_TIME;
- else if(str=="real" || str=="float" || str==_("real"))
- return TYPE_REAL;
- else if(str=="integer" || str=="int" || str==_("integer"))
- return TYPE_INTEGER;
- else if(str=="bool" || str==_("bool"))
- return TYPE_BOOL;
- else if(str=="angle" || str=="degrees" || str=="radians" || str=="rotations")
- return TYPE_ANGLE;
- else if(str=="vector" || str=="point")
- return TYPE_VECTOR;
- else if(str=="color")
- return TYPE_COLOR;
- else if(str=="string")
- return TYPE_STRING;
- else if(str=="canvas")
- return TYPE_CANVAS;
- else if(str=="list")
- return TYPE_LIST;
- else if(str=="segment")
- return TYPE_SEGMENT;
- else if(str=="gradient")
- return TYPE_GRADIENT;
- else if(str=="bline_point" || str=="blinepoint")
- return TYPE_BLINEPOINT;
+ if(str=="nil" ||
+ str=="null") return TYPE_NIL;
+ else if(str=="time" ||
+ str==_("time")) return TYPE_TIME;
+ else if(str=="real" ||
+ str=="float" ||
+ str==_("real")) return TYPE_REAL;
+ else if(str=="integer" ||
+ str=="int" ||
+ str==_("integer")) return TYPE_INTEGER;
+ else if(str=="bool" ||
+ str==_("bool")) return TYPE_BOOL;
+ else if(str=="angle" ||
+ str=="degrees" ||
+ str=="radians" ||
+ str=="rotations") return TYPE_ANGLE;
+ else if(str=="vector" ||
+ str=="point") return TYPE_VECTOR;
+ else if(str=="color") return TYPE_COLOR;
+ else if(str=="string") return TYPE_STRING;
+ else if(str=="canvas") return TYPE_CANVAS;
+ else if(str=="list") return TYPE_LIST;
+ else if(str=="segment") return TYPE_SEGMENT;
+ else if(str=="gradient") return TYPE_GRADIENT;
+ else if(str=="bline_point" ||
+ str=="blinepoint") return TYPE_BLINEPOINT;