shortened elsif to elif.
enhanced is_reserved_word() to return a token type through a non-NULL second parameter
This commit is contained in:
@ -300,14 +300,15 @@ enum moo_iotok_type_t
|
||||
MOO_IOTOK_IF,
|
||||
MOO_IOTOK_IFNOT,
|
||||
MOO_IOTOK_ELSE,
|
||||
MOO_IOTOK_ELSIF,
|
||||
MOO_IOTOK_ELSIFNOT,
|
||||
MOO_IOTOK_ELIF,
|
||||
MOO_IOTOK_ELIFNOT,
|
||||
|
||||
MOO_IOTOK_WHILE,
|
||||
MOO_IOTOK_UNTIL,
|
||||
MOO_IOTOK_DO,
|
||||
MOO_IOTOK_BREAK,
|
||||
MOO_IOTOK_CONTINUE,
|
||||
MOO_IOTOK_GOTO,
|
||||
|
||||
MOO_IOTOK_AND,
|
||||
MOO_IOTOK_OR,
|
||||
|
Reference in New Issue
Block a user