diff options
Diffstat (limited to 'yarp/parser.h')
| -rw-r--r-- | yarp/parser.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/yarp/parser.h b/yarp/parser.h index a23f886084..2091be7fd9 100644 --- a/yarp/parser.h +++ b/yarp/parser.h @@ -96,10 +96,7 @@ typedef struct yp_lex_mode { // This state is used when we are lexing a string or a string-like // token, as in string content with either quote or an xstring. - YP_LEX_STRING, - - // you lexed a number with extra information attached - YP_LEX_NUMERIC, + YP_LEX_STRING } mode; union { @@ -164,12 +161,6 @@ typedef struct yp_lex_mode { } string; struct { - yp_token_type_t type; - const char *start; - const char *end; - } numeric; - - struct { // These pointers point to the beginning and end of the heredoc // identifier. const char *ident_start; |
