Add missing 'finally' keyword.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2018-08-12 22:04:47 +02:00
parent aa6e00db27
commit d7f9d8e157
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 2 additions and 0 deletions

View File

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

View File

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