summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditor.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2014-02-05 08:37:33 +0200
committerOrgad Shaneh <orgads@gmail.com>2014-02-24 21:56:52 +0100
commit67caa75c56d303c9a4b72342959337144a97b1a7 (patch)
treeec5866eeb65b36eaba5ec481dab99e3a8b3721e7 /src/plugins/pythoneditor/pythoneditor.cpp
parentdabdb60299d01d12857f45baa2b04f10077c27cc (diff)
downloadqt-creator-67caa75c56d303c9a4b72342959337144a97b1a7.tar.gz
C++: Fix preprocessing of uncontinued line-escaping
The following snippet demonstrates the problem: --- snip --- // comment \ #include <something.h> ... class Foo { ... }; --- snap --- If there are >=9 empty/preprocessor lines, the preprocessed source becomes // comment \ # 12 "file.cpp" ... The lexer considers the line marker as a continued C++ comment, and highlighting is broken Change-Id: I30a2fc7d19b279316e9273697179c90d81099573 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditor.cpp')
0 files changed, 0 insertions, 0 deletions