Renamed token_type_t

This commit is contained in:
Dan Hirsch 2012-05-26 12:05:23 +02:00
parent 8cc526f13e
commit b10ef575e2

View file

@ -30,7 +30,7 @@ typedef int bool;
typedef struct HParseState_ HParseState;
typedef enum token_type {
typedef enum HTokenType_ {
TT_NONE,
TT_BYTES,
TT_SINT,
@ -39,7 +39,7 @@ typedef enum token_type {
TT_USER = 64,
TT_ERR,
TT_MAX
} token_type_t;
} HTokenType;
typedef struct parsed_token parsed_token_t;
@ -51,7 +51,7 @@ typedef struct counted_array {
} counted_array_t;
typedef struct parsed_token {
token_type_t token_type;
HTokenType token_type;
union {
struct {
const uint8_t *token;