diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-10-26 15:27:39 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-10-26 15:27:39 -0700 |
commit | cf766b55cca979745f6c218d78f9cdcc297b3f20 (patch) | |
tree | d5c31f6aaa56aaa4ac7c967c91d6e822d0f8d27d /tokenizer.cpp | |
parent | 03c65d7a96c9cadc9feff339ca0af7f43eb7391e (diff) |
Fix formatting
Diffstat (limited to 'tokenizer.cpp')
-rw-r--r-- | tokenizer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tokenizer.cpp b/tokenizer.cpp index 567b03dc..90c8b703 100644 --- a/tokenizer.cpp +++ b/tokenizer.cpp @@ -647,20 +647,20 @@ enum token_type tok_peek_next(tokenizer_t *tok, wcstring *out_next_string) { out_next_string->clear(); } - + enum token_type result = TOK_END; if (tok_has_next(tok)) { int saved = tok_get_pos(tok); tok_next(tok); result = tok_last_type(tok); - + if (out_next_string != NULL) { const wchar_t *last = tok_last(tok); out_next_string->assign(last ? last : L""); } - + tok_set_pos(tok, saved); } return result; |