mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Added ternary operator, resolved #46
This commit is contained in:
@@ -76,6 +76,9 @@ typedef enum Opcode {
|
||||
//pop the stack at the end of a complex statement
|
||||
OP_POP_STACK,
|
||||
|
||||
//ternary shorthand
|
||||
OP_TERNARY,
|
||||
|
||||
//meta
|
||||
OP_FN_END, //different from SECTION_END
|
||||
OP_SECTION_END = 255,
|
||||
|
||||
Reference in New Issue
Block a user