1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-31 11:29:16 +00:00

Added the restrict keyword just to have it reserved

git-svn-id: svn://svn.cc65.org/cc65/trunk@2153 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-05-07 21:06:42 +00:00
parent e9484094e4
commit 0a1266e59b
2 changed files with 12 additions and 10 deletions

View File

@ -6,10 +6,10 @@
/* */ /* */
/* */ /* */
/* */ /* */
/* (C) 1998-2002 Ullrich von Bassewitz */ /* (C) 1998-2003 Ullrich von Bassewitz */
/* Wacholderweg 14 */ /* Römerstrasse 52 */
/* D-70597 Stuttgart */ /* D-70794 Filderstadt */
/* EMail: uz@musoftware.de */ /* EMail: uz@cc65.org */
/* */ /* */
/* */ /* */
/* This software is provided 'as-is', without any expressed or implied */ /* This software is provided 'as-is', without any expressed or implied */
@ -112,6 +112,7 @@ static const struct Keyword {
{ "int", TOK_INT, TT_C }, { "int", TOK_INT, TT_C },
{ "long", TOK_LONG, TT_C }, { "long", TOK_LONG, TT_C },
{ "register", TOK_REGISTER, TT_C }, { "register", TOK_REGISTER, TT_C },
{ "restrict", TOK_RESTRICT, TT_C },
{ "return", TOK_RETURN, TT_C }, { "return", TOK_RETURN, TT_C },
{ "short", TOK_SHORT, TT_C }, { "short", TOK_SHORT, TT_C },
{ "signed", TOK_SIGNED, TT_C }, { "signed", TOK_SIGNED, TT_C },

View File

@ -6,10 +6,10 @@
/* */ /* */
/* */ /* */
/* */ /* */
/* (C) 1998-2002 Ullrich von Bassewitz */ /* (C) 1998-2003 Ullrich von Bassewitz */
/* Wacholderweg 14 */ /* Römerstrasse 52 */
/* D-70597 Stuttgart */ /* D-70794 Filderstadt */
/* EMail: uz@musoftware.de */ /* EMail: uz@cc65.org */
/* */ /* */
/* */ /* */
/* This software is provided 'as-is', without any expressed or implied */ /* This software is provided 'as-is', without any expressed or implied */
@ -57,6 +57,7 @@ typedef enum token_t {
TOK_AUTO, TOK_AUTO,
TOK_EXTERN, TOK_EXTERN,
TOK_REGISTER, TOK_REGISTER,
TOK_RESTRICT,
TOK_STATIC, TOK_STATIC,
TOK_TYPEDEF, TOK_TYPEDEF,
TOK_ENUM, TOK_ENUM,