Cleanup after switching from 'parent' constant to '$parent' variable.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-06-03 12:31:28 +02:00
parent 625a386b69
commit d0840d7eea
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
3 changed files with 2 additions and 4 deletions

View File

@ -4878,8 +4878,8 @@ static ProcLangConstruct PH7_GenStateGetStatementHandler(
*/ */
static int PH7_IsLangConstruct(sxu32 nKeywordID) { static int PH7_IsLangConstruct(sxu32 nKeywordID) {
if(nKeywordID == PH7_KEYWORD_IMPORT || nKeywordID == PH7_KEYWORD_INCLUDE || nKeywordID == PH7_KEYWORD_REQUIRE if(nKeywordID == PH7_KEYWORD_IMPORT || nKeywordID == PH7_KEYWORD_INCLUDE || nKeywordID == PH7_KEYWORD_REQUIRE
|| nKeywordID == PH7_KEYWORD_EVAL || nKeywordID == PH7_KEYWORD_PARENT || nKeywordID == PH7_KEYWORD_EVAL || nKeywordID == PH7_KEYWORD_STATIC
|| nKeywordID == PH7_KEYWORD_STATIC || nKeywordID == PH7_KEYWORD_NEW || nKeywordID == PH7_KEYWORD_CLONE) { || nKeywordID == PH7_KEYWORD_NEW || nKeywordID == PH7_KEYWORD_CLONE) {
return TRUE; return TRUE;
} }
/* Not a language construct */ /* Not a language construct */

View File

@ -532,7 +532,6 @@ static sxu32 KeywordCode(const char *z, int n) {
{"interface", PH7_KEYWORD_INTERFACE}, {"interface", PH7_KEYWORD_INTERFACE},
{"namespace", PH7_KEYWORD_NAMESPACE}, {"namespace", PH7_KEYWORD_NAMESPACE},
{"new", PH7_KEYWORD_NEW}, {"new", PH7_KEYWORD_NEW},
{"parent", PH7_KEYWORD_PARENT},
{"throw", PH7_KEYWORD_THROW}, {"throw", PH7_KEYWORD_THROW},
{"try", PH7_KEYWORD_TRY}, {"try", PH7_KEYWORD_TRY},
{"using", PH7_KEYWORD_USING}, {"using", PH7_KEYWORD_USING},

View File

@ -1589,7 +1589,6 @@ enum ph7_expr_id {
#define PH7_KEYWORD_IMPLEMENTS 39 /* implements */ #define PH7_KEYWORD_IMPLEMENTS 39 /* implements */
#define PH7_KEYWORD_INCLUDE 41 /* include */ #define PH7_KEYWORD_INCLUDE 41 /* include */
#define PH7_KEYWORD_INSTANCEOF 0x400 /* instanceof: MUST BE A POWER OF TWO */ #define PH7_KEYWORD_INSTANCEOF 0x400 /* instanceof: MUST BE A POWER OF TWO */
#define PH7_KEYWORD_PARENT 44 /* parent */
#define PH7_KEYWORD_PRIVATE 45 /* private */ #define PH7_KEYWORD_PRIVATE 45 /* private */
#define PH7_KEYWORD_FOR 48 /* for */ #define PH7_KEYWORD_FOR 48 /* for */
#define PH7_KEYWORD_FOREACH 49 /* foreach */ #define PH7_KEYWORD_FOREACH 49 /* foreach */