- added automatic type deduction capabilities for local variables. If you type 'let variable = value;' the type of 'variable' will be deduced from the given value. This is mostly of interest for type casting pointers, because 'let p = Classtype(objectvar);' does not require writing the class type name twice.
This commit is contained in:
parent
67bdac5227
commit
f722967abe
10 changed files with 42 additions and 3 deletions
|
|
@ -131,6 +131,7 @@ enum EZCCBuiltinType
|
|||
ZCC_Sound,
|
||||
|
||||
ZCC_UserType,
|
||||
ZCC_Let,
|
||||
|
||||
ZCC_NUM_BUILT_IN_TYPES
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue