Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2239 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -81,9 +81,9 @@ static const struct Keyword {
|
|||||||
unsigned char Type; /* Token type */
|
unsigned char Type; /* Token type */
|
||||||
} Keywords [] = {
|
} Keywords [] = {
|
||||||
{ "_Pragma", TOK_PRAGMA, TT_C },
|
{ "_Pragma", TOK_PRAGMA, TT_C },
|
||||||
{ "__A__", TOK_A, TT_C },
|
|
||||||
{ "__AX__", TOK_AX, TT_C },
|
{ "__AX__", TOK_AX, TT_C },
|
||||||
{ "__EAX__", TOK_EAX, TT_C },
|
{ "__EAX__", TOK_EAX, TT_C },
|
||||||
|
{ "__A__", TOK_A, TT_C },
|
||||||
{ "__X__", TOK_X, TT_C },
|
{ "__X__", TOK_X, TT_C },
|
||||||
{ "__Y__", TOK_Y, TT_C },
|
{ "__Y__", TOK_Y, TT_C },
|
||||||
{ "__asm__", TOK_ASM, TT_C },
|
{ "__asm__", TOK_ASM, TT_C },
|
||||||
@@ -128,7 +128,7 @@ static const struct Keyword {
|
|||||||
{ "void", TOK_VOID, TT_C },
|
{ "void", TOK_VOID, TT_C },
|
||||||
{ "volatile", TOK_VOLATILE, TT_C },
|
{ "volatile", TOK_VOLATILE, TT_C },
|
||||||
{ "while", TOK_WHILE, TT_C },
|
{ "while", TOK_WHILE, TT_C },
|
||||||
};
|
};
|
||||||
#define KEY_COUNT (sizeof (Keywords) / sizeof (Keywords [0]))
|
#define KEY_COUNT (sizeof (Keywords) / sizeof (Keywords [0]))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user