aboutsummaryrefslogtreecommitdiffhomepage
path: root/tokenizer.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-31 01:15:50 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-31 01:15:50 -0700
commit7ac593273e25d5ce39104dc1752660a43a29f61d (patch)
tree1f0a18a2f49a61460ff8d7c1c3de375af37395d4 /tokenizer.h
parenta529fc9d83295fdf9418436b68d056162ba8231b (diff)
Remove a bunch of dead code identified by cppcheck
Diffstat (limited to 'tokenizer.h')
-rw-r--r--tokenizer.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/tokenizer.h b/tokenizer.h
index dcd355a3..525afb46 100644
--- a/tokenizer.h
+++ b/tokenizer.h
@@ -127,11 +127,6 @@ enum token_type tok_last_type(tokenizer_t *tok);
const wchar_t *tok_last(tokenizer_t *tok);
/**
- Returns the type of quote from the last TOK_QSTRING
-*/
-wchar_t tok_last_quote(tokenizer_t *tok);
-
-/**
Returns true as long as there are more tokens left
*/
int tok_has_next(tokenizer_t *tok);
@@ -144,14 +139,6 @@ int tok_get_pos(const tokenizer_t *tok);
/** Returns the extent of the current token */
size_t tok_get_extent(const tokenizer_t *tok);
-/** Returns the token type after the current one, without adjusting the position. Optionally returns the next string by reference. */
-enum token_type tok_peek_next(tokenizer_t *tok, wcstring *out_next_string);
-
-/**
- Returns the original string to tokenizer
- */
-const wchar_t *tok_string(tokenizer_t *tok);
-
/**
Returns only the first token from the specified string. This is a
convenience function, used to retrieve the first token of a