summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor
diff options
context:
space:
mode:
authorNikolay Shalakin <nikolay.shalakin@astrosoft.ru>2017-11-25 13:56:11 +0300
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-11-27 19:24:58 +0000
commit1cf2d2942cb70f714eff257bcb9895c41abede06 (patch)
tree45313fa136e7030bb8f674fb5086a92305842914 /src/plugins/pythoneditor
parent86d074123aac06fa977857c115b71f3d68596244 (diff)
downloadqt-creator-1cf2d2942cb70f714eff257bcb9895c41abede06.tar.gz
python scanner: fix "oct" and "chr" highlight
a missing comma defeated both keywords. Change-Id: I2486ca5ca7d82d7ddcab8656b02fba0b3f54ddd8 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/pythoneditor')
-rw-r--r--src/plugins/pythoneditor/pythonscanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pythoneditor/pythonscanner.cpp b/src/plugins/pythoneditor/pythonscanner.cpp
index cc75259903..9e80f30e6f 100644
--- a/src/plugins/pythoneditor/pythonscanner.cpp
+++ b/src/plugins/pythoneditor/pythonscanner.cpp
@@ -202,7 +202,7 @@ FormatToken Scanner::readIdentifier()
// List of python built-in functions and objects
static const QSet<QString> builtins = {
- "range", "xrange", "int", "float", "long", "hex", "oct" "chr", "ord",
+ "range", "xrange", "int", "float", "long", "hex", "oct", "chr", "ord",
"len", "abs", "None", "True", "False"
};