forked from qt-creator/qt-creator
python scanner: fix "oct" and "chr" highlight
a missing comma defeated both keywords. Change-Id: I2486ca5ca7d82d7ddcab8656b02fba0b3f54ddd8 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Oswald Buddenhagen
parent
86d074123a
commit
1cf2d2942c
@@ -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"
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user