Commit 1cf2d294 authored by Nikolay Shalakin's avatar Nikolay Shalakin Committed by Oswald Buddenhagen

python scanner: fix "oct" and "chr" highlight

a missing comma defeated both keywords.

Change-Id: I2486ca5ca7d82d7ddcab8656b02fba0b3f54ddd8
Reviewed-by: default avatarhjk <hjk@qt.io>
parent 86d07412
......@@ -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"
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment