Renamed the Token enumeration to token_t.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4909 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-01-16 14:51:13 +00:00
parent 1d36b7f1b3
commit dbfae85f54
11 changed files with 49 additions and 49 deletions

View File

@@ -49,8 +49,8 @@
/* Tokens */
typedef enum Token {
/* Tokens */
typedef enum token_t {
TOK_NONE, /* Start value, invalid */
TOK_EOF, /* End of input file */
TOK_SEP, /* Separator (usually newline) */
@@ -254,7 +254,7 @@ typedef enum Token {
TOK_LASTPSEUDO = TOK_ZEROPAGE,
TOK_COUNT /* Count of tokens */
} Token;
} token_t;
@@ -264,14 +264,14 @@ typedef enum Token {
int TokHasSVal (Token Tok);
int TokHasSVal (token_t Tok);
/* Return true if the given token has an attached SVal */
int TokHasIVal (Token Tok);
int TokHasIVal (token_t Tok);
/* Return true if the given token has an attached IVal */
#if defined(HAVE_INLINE)
INLINE int TokIsSep (enum Token T)
INLINE int TokIsSep (enum token_t T)
/* Return true if this is a separator token */
{
return (T == TOK_SEP || T == TOK_EOF);