[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/sdk/kdevelop/languages/cpp/parser/rpp
From: Hamish Rodda <rodda () kde ! org>
Date: 2009-12-06 3:23:17
Message-ID: 1260069797.101264.29944.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1059216 by rodda:
Avoid access past end of input stream by querying the correct stream (is) \
[as seen on reviewboard]
M +2 -2 pp-macro-expander.cpp
--- trunk/extragear/sdk/kdevelop/languages/cpp/parser/rpp/pp-macro-expander.cpp \
#1059215:1059216 @@ -293,10 +293,10 @@
///@todo Create a test-case for this code
while (!is.atEnd()) {
- if (input == '"') {
+ if (is == '"') {
output << '\\' << is;
- } else if (input == '\n') {
+ } else if (is == '\n') {
output << '"' << is << '"';
} else {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic