Compiler rework merge #43

Merged
belliash merged 55 commits from compiler_rework into master 2018-08-16 21:28:49 +02:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit d7f9d8e157 - Show all commits

View File

@ -588,6 +588,7 @@ static sxu32 KeywordCode(const char *z, int n) {
{"case", PH7_KEYWORD_CASE}, {"case", PH7_KEYWORD_CASE},
{"self", PH7_KEYWORD_SELF}, {"self", PH7_KEYWORD_SELF},
{"final", PH7_KEYWORD_FINAL}, {"final", PH7_KEYWORD_FINAL},
{"finally", PH7_KEYWORD_FINALLY},
{"list", PH7_KEYWORD_LIST}, {"list", PH7_KEYWORD_LIST},
{"static", PH7_KEYWORD_STATIC}, {"static", PH7_KEYWORD_STATIC},
{"clone", PH7_KEYWORD_CLONE}, {"clone", PH7_KEYWORD_CLONE},

View File

@ -1482,6 +1482,7 @@ enum ph7_expr_id {
#define PH7_KEYWORD_AS 33 /* as */ #define PH7_KEYWORD_AS 33 /* as */
#define PH7_KEYWORD_CONTINUE 34 /* continue */ #define PH7_KEYWORD_CONTINUE 34 /* continue */
#define PH7_KEYWORD_EXIT 35 /* exit */ #define PH7_KEYWORD_EXIT 35 /* exit */
#define PH7_KEYWORD_FINALLY 36 /* finally */
#define PH7_KEYWORD_IMPLEMENTS 39 /* implements */ #define PH7_KEYWORD_IMPLEMENTS 39 /* implements */
#define PH7_KEYWORD_INCONCE 40 /* include_once */ #define PH7_KEYWORD_INCONCE 40 /* include_once */
#define PH7_KEYWORD_INCLUDE 41 /* include */ #define PH7_KEYWORD_INCLUDE 41 /* include */