Only bool, float, int. They dont need synonyms.
This commit is contained in:
parent
8b59a01198
commit
caedd1a9f8
3
lexer.c
3
lexer.c
|
@ -594,7 +594,6 @@ static sxu32 KeywordCode(const char *z, int n) {
|
||||||
{"object", PH7_TKWRD_OBJECT},
|
{"object", PH7_TKWRD_OBJECT},
|
||||||
{"throw", PH7_TKWRD_THROW},
|
{"throw", PH7_TKWRD_THROW},
|
||||||
{"bool", PH7_TKWRD_BOOL},
|
{"bool", PH7_TKWRD_BOOL},
|
||||||
{"boolean", PH7_TKWRD_BOOL},
|
|
||||||
{"default", PH7_TKWRD_DEFAULT},
|
{"default", PH7_TKWRD_DEFAULT},
|
||||||
{"try", PH7_TKWRD_TRY},
|
{"try", PH7_TKWRD_TRY},
|
||||||
{"case", PH7_TKWRD_CASE},
|
{"case", PH7_TKWRD_CASE},
|
||||||
|
@ -612,7 +611,6 @@ static sxu32 KeywordCode(const char *z, int n) {
|
||||||
{"elif", PH7_TKWRD_ELIF},
|
{"elif", PH7_TKWRD_ELIF},
|
||||||
{"else", PH7_TKWRD_ELSE},
|
{"else", PH7_TKWRD_ELSE},
|
||||||
{"if", PH7_TKWRD_IF},
|
{"if", PH7_TKWRD_IF},
|
||||||
{"double", PH7_TKWRD_FLOAT},
|
|
||||||
{"float", PH7_TKWRD_FLOAT},
|
{"float", PH7_TKWRD_FLOAT},
|
||||||
{"var", PH7_TKWRD_VAR},
|
{"var", PH7_TKWRD_VAR},
|
||||||
{"array", PH7_TKWRD_ARRAY},
|
{"array", PH7_TKWRD_ARRAY},
|
||||||
|
@ -634,7 +632,6 @@ static sxu32 KeywordCode(const char *z, int n) {
|
||||||
{"empty", PH7_TKWRD_EMPTY},
|
{"empty", PH7_TKWRD_EMPTY},
|
||||||
{"instanceof", PH7_TKWRD_INSTANCEOF},
|
{"instanceof", PH7_TKWRD_INSTANCEOF},
|
||||||
{"interface", PH7_TKWRD_INTERFACE},
|
{"interface", PH7_TKWRD_INTERFACE},
|
||||||
{"integer", PH7_TKWRD_INT},
|
|
||||||
{"endfor", PH7_TKWRD_ENDFOR},
|
{"endfor", PH7_TKWRD_ENDFOR},
|
||||||
{"endforeach", PH7_TKWRD_END4EACH},
|
{"endforeach", PH7_TKWRD_END4EACH},
|
||||||
{"for", PH7_TKWRD_FOR},
|
{"for", PH7_TKWRD_FOR},
|
||||||
|
|
Loading…
Reference in New Issue