mirror of
https://github.com/cc65/cc65.git
synced 2025-01-03 01:31:55 +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:
parent
e9484094e4
commit
0a1266e59b
@ -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 },
|
||||||
@ -375,7 +376,7 @@ static void StringConst (void)
|
|||||||
|
|
||||||
void NextToken (void)
|
void NextToken (void)
|
||||||
/* Get next token from input stream */
|
/* Get next token from input stream */
|
||||||
{
|
{
|
||||||
ident token;
|
ident token;
|
||||||
|
|
||||||
/* We have to skip white space here before shifting tokens, since the
|
/* We have to skip white space here before shifting tokens, since the
|
||||||
|
@ -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,9 +57,10 @@ 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,
|
||||||
TOK_CONST,
|
TOK_CONST,
|
||||||
TOK_VOLATILE,
|
TOK_VOLATILE,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user