diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-11-23 22:52:15 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-11-24 01:23:41 -0800 |
commit | 196a7c9d188304cd6b189b1bcf4e2c088fcf3434 (patch) | |
tree | 0919fb90f7c131bc79b4ad3002708c6af03fa4bf /tokenizer.h | |
parent | daa856ed47f03c8da008830e9da1095bc30b7c68 (diff) |
Add a helpful comment warning of a nonsense result from tok_last
Diffstat (limited to 'tokenizer.h')
-rw-r--r-- | tokenizer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokenizer.h b/tokenizer.h index 525afb46..749337b4 100644 --- a/tokenizer.h +++ b/tokenizer.h @@ -122,7 +122,7 @@ void tok_next(tokenizer_t *tok); enum token_type tok_last_type(tokenizer_t *tok); /** - Returns the last token string. The string should not be freed by the caller. + Returns the last token string. The string should not be freed by the caller. This returns nonsense results for some token types, like TOK_END. */ const wchar_t *tok_last(tokenizer_t *tok); |