summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/tools/lexical/pythonscanner.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2013-09-11 18:21:33 +0200
committerhjk <hjk121@nokiamail.com>2013-09-12 16:03:29 +0200
commit6a352130bcddee588ecf8038d7c63b93648a9f47 (patch)
tree7b59a5fc871ca7e3cf56839951ac55b46383bb51 /src/plugins/pythoneditor/tools/lexical/pythonscanner.cpp
parent6bdf99cde95e2303a3d263b5cbe6291b351820e5 (diff)
downloadqt-creator-6a352130bcddee588ecf8038d7c63b93648a9f47.tar.gz
PythonEditor: Remove dead code
Change-Id: I78da9f381ba8081a681f46c045b436e143416206 Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/pythoneditor/tools/lexical/pythonscanner.cpp')
-rw-r--r--src/plugins/pythoneditor/tools/lexical/pythonscanner.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/pythoneditor/tools/lexical/pythonscanner.cpp b/src/plugins/pythoneditor/tools/lexical/pythonscanner.cpp
index 1aa2c68529..6506a8d67d 100644
--- a/src/plugins/pythoneditor/tools/lexical/pythonscanner.cpp
+++ b/src/plugins/pythoneditor/tools/lexical/pythonscanner.cpp
@@ -225,11 +225,6 @@ inline static bool isValidIntegerSuffix(QChar ch)
return (ch == QLatin1Char('l') || ch == QLatin1Char('L'));
}
-inline static bool isValidComplexSuffix(QChar ch)
-{
- return (ch == QLatin1Char('j') || ch == QLatin1Char('J'));
-}
-
FormatToken Scanner::readNumber()
{
if (!m_src.isEnd()) {