diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-21 22:09:35 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-21 22:09:35 -0800 |
commit | a3a7c4879998f434e6bc5667ad9943f7f9e6aa74 (patch) | |
tree | 86e67a808599af834757cd42c16c80385796597f /fish_indent.cpp | |
parent | f545fb2491d36e02dc6c4005ada86be8678bba78 (diff) |
Modify tokenizer to store last token in a wcstring
Diffstat (limited to 'fish_indent.cpp')
-rw-r--r-- | fish_indent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_indent.cpp b/fish_indent.cpp index c50eeba6..1a7df124 100644 --- a/fish_indent.cpp +++ b/fish_indent.cpp @@ -95,7 +95,7 @@ static int indent(wcstring &out, const wcstring &in, int flags) for (; tok_has_next(&tok); tok_next(&tok)) { int type = tok_last_type(&tok); - wchar_t *last = tok_last(&tok); + const wchar_t *last = tok_last(&tok); switch (type) { |