diff options
Diffstat (limited to 'apps/interpreters/bas/token.h')
-rw-r--r-- | apps/interpreters/bas/token.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/interpreters/bas/token.h b/apps/interpreters/bas/token.h index b6f24cec8..3fcb5afd5 100644 --- a/apps/interpreters/bas/token.h +++ b/apps/interpreters/bas/token.h @@ -71,11 +71,11 @@ * Pre-processor Definitions ****************************************************************************/ -#define TOKEN_ISBINARYOPERATOR(t) (Token_property[t]&1) -#define TOKEN_ISUNARYOPERATOR(t) (Token_property[t]&(1<<1)) -#define TOKEN_BINARYPRIORITY(t) ((Token_property[t]>>2)&7) -#define TOKEN_UNARYPRIORITY(t) ((Token_property[t]>>5)&7) -#define TOKEN_ISRIGHTASSOCIATIVE(t) (Token_property[t]&(1<<8)) +#define TOKEN_ISBINARYOPERATOR(t) (g_token_property[t]&1) +#define TOKEN_ISUNARYOPERATOR(t) (g_token_property[t]&(1<<1)) +#define TOKEN_BINARYPRIORITY(t) ((g_token_property[t]>>2)&7) +#define TOKEN_UNARYPRIORITY(t) ((g_token_property[t]>>5)&7) +#define TOKEN_ISRIGHTASSOCIATIVE(t) (g_token_property[t]&(1<<8)) /**************************************************************************** * Public Types @@ -530,7 +530,7 @@ struct Token * Public Data ****************************************************************************/ -extern int Token_property[]; +extern int g_token_property[]; /**************************************************************************** * Public Function Prototypes |