mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Reworked the type system, types now have a single value
This commit is contained in:
@@ -15,7 +15,7 @@ typedef enum NodeType {
|
||||
NODE_BLOCK, //contains a sub-node array
|
||||
NODE_COMPOUND, //contains a sub-node array
|
||||
NODE_PAIR, //contains a left and right
|
||||
NODE_VAR_TYPES, //contains a type mask and a sub-node array for compound types
|
||||
NODE_VAR_TYPES, //contains a type and a sub-node array for compound types
|
||||
NODE_VAR_DECL, //contains identifier literal, typenode, expression definition
|
||||
// NODE_CONDITIONAL, //three children: conditional, then path, else path
|
||||
} NodeType;
|
||||
|
||||
Reference in New Issue
Block a user