diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2015-07-25 20:29:19 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2015-07-25 22:47:44 -0700 |
commit | 0dbd83ffaf571dce9b1e8449c28e3ae0040d4e75 (patch) | |
tree | 2c6db62184e346a69d4b68ccba35d66952213c1d /src/tokenizer.h | |
parent | f4d1657c22c81a7720a91026f915b80d2d6aa6e8 (diff) |
Remove some dead code
Diffstat (limited to 'src/tokenizer.h')
-rw-r--r-- | src/tokenizer.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/tokenizer.h b/src/tokenizer.h index 954957cc..f5f0455d 100644 --- a/src/tokenizer.h +++ b/src/tokenizer.h @@ -92,17 +92,11 @@ struct tokenizer_t bool show_comments; /** Whether all blank lines are returned */ bool show_blank_lines; - /** Type of last quote, can be either ' or ".*/ - wchar_t last_quote; /** Last error */ int error; /* Whether we are squashing errors */ bool squash_errors; - /* Cached line number information */ - size_t cached_lineno_offset; - int cached_lineno_count; - /* Whether to continue the previous line after the comment */ bool continue_line_after_comment; @@ -158,24 +152,6 @@ size_t tok_get_extent(const tokenizer_t *tok); wcstring tok_first(const wchar_t *str); /** - Indicates whether a character can be part of a string, or is a string separator. - Separators include newline, tab, |, ^, >, <, etc. - - is_first should indicate whether this is the first character in a potential string. -*/ -bool tok_is_string_character(wchar_t c, bool is_first); - -/** - Move tokenizer position -*/ -void tok_set_pos(tokenizer_t *tok, int pos); - -/** - Returns a string description of the specified token type -*/ -const wchar_t *tok_get_desc(int type); - -/** Get tokenizer error type. Should only be called if tok_last_tope returns TOK_ERROR. */ int tok_get_error(tokenizer_t *tok); |