Treat 'import' as a special keyword.
All checks were successful
The build was successful.

This commit is contained in:
2018-08-16 16:32:28 +02:00
parent b5fe36c14b
commit 9100bf0696
3 changed files with 3 additions and 1 deletions

View File

@@ -1455,6 +1455,7 @@ enum ph7_expr_id {
#define PH7_KEYWORD_SWITCH 3 /* switch */
#define PH7_KEYWORD_INTERFACE 5 /* interface */
/* The number '8' is reserved for PH7_TK_ID */
#define PH7_KEYWORD_IMPORT 9 /* import */
#define PH7_KEYWORD_REQUIRE 10 /* require */
#define PH7_KEYWORD_ELIF 0x4000000 /* elseif: MUST BE A POWER OF TWO */
#define PH7_KEYWORD_ELSE 0x8000000 /* else: MUST BE A POWER OF TWO */