mirror of
https://github.com/cc65/cc65.git
synced 2025-04-06 04:41:08 +00:00
Added the cdecl keyword
git-svn-id: svn://svn.cc65.org/cc65/trunk@4639 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
ca9170cd20
commit
4299e2db05
@ -6,7 +6,7 @@
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 1998-2009, Ullrich von Bassewitz */
|
||||
/* (C) 1998-2010, Ullrich von Bassewitz */
|
||||
/* Roemerstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
@ -93,6 +93,7 @@ static const struct Keyword {
|
||||
{ "__Y__", TOK_Y, TT_C89 | TT_C99 | TT_CC65 },
|
||||
{ "__asm__", TOK_ASM, TT_C89 | TT_C99 | TT_CC65 },
|
||||
{ "__attribute__", TOK_ATTRIBUTE, TT_C89 | TT_C99 | TT_CC65 },
|
||||
{ "__cdecl__", TOK_CDECL, TT_C89 | TT_C99 | TT_CC65 },
|
||||
{ "__far__", TOK_FAR, TT_C89 | TT_C99 | TT_CC65 },
|
||||
{ "__fastcall__", TOK_FASTCALL, TT_C89 | TT_C99 | TT_CC65 },
|
||||
{ "__inline__", TOK_INLINE, TT_C89 | TT_C99 | TT_CC65 },
|
||||
@ -101,6 +102,7 @@ static const struct Keyword {
|
||||
{ "auto", TOK_AUTO, TT_C89 | TT_C99 | TT_CC65 },
|
||||
{ "break", TOK_BREAK, TT_C89 | TT_C99 | TT_CC65 },
|
||||
{ "case", TOK_CASE, TT_C89 | TT_C99 | TT_CC65 },
|
||||
{ "cdecl", TOK_CDECL, TT_CC65 },
|
||||
{ "char", TOK_CHAR, TT_C89 | TT_C99 | TT_CC65 },
|
||||
{ "const", TOK_CONST, TT_C89 | TT_C99 | TT_CC65 },
|
||||
{ "continue", TOK_CONTINUE, TT_C89 | TT_C99 | TT_CC65 },
|
||||
|
@ -6,7 +6,7 @@
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 1998-2009, Ullrich von Bassewitz */
|
||||
/* (C) 1998-2010, Ullrich von Bassewitz */
|
||||
/* Roemerstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
@ -77,6 +77,7 @@ typedef enum token_t {
|
||||
/* Function specifiers */
|
||||
TOK_INLINE,
|
||||
TOK_FASTCALL,
|
||||
TOK_CDECL,
|
||||
|
||||
/* Tokens denoting types */
|
||||
TOK_FIRST_TYPE,
|
||||
@ -194,7 +195,7 @@ typedef enum token_t {
|
||||
/* Forward for struct Literal */
|
||||
struct Literal;
|
||||
|
||||
/* Token stuff */
|
||||
/* Token stuff */
|
||||
typedef struct Token Token;
|
||||
struct Token {
|
||||
token_t Tok; /* The token itself */
|
||||
|
Loading…
x
Reference in New Issue
Block a user