From 1cf2d2942cb70f714eff257bcb9895c41abede06 Mon Sep 17 00:00:00 2001 From: Nikolay Shalakin Date: Sat, 25 Nov 2017 13:56:11 +0300 Subject: python scanner: fix "oct" and "chr" highlight a missing comma defeated both keywords. Change-Id: I2486ca5ca7d82d7ddcab8656b02fba0b3f54ddd8 Reviewed-by: hjk --- src/plugins/pythoneditor/pythonscanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/pythoneditor') 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 builtins = { - "range", "xrange", "int", "float", "long", "hex", "oct" "chr", "ord", + "range", "xrange", "int", "float", "long", "hex", "oct", "chr", "ord", "len", "abs", "None", "True", "False" }; -- cgit v1.2.1