|
@@ -209,6 +209,8 @@ if exists("python_highlight_doctests") && python_highlight_doctests != 0
|
209
|
209
|
endif
|
210
|
210
|
|
211
|
211
|
" Numbers (ints, longs, floats, complex)
|
|
212
|
+syn match pythonHexError "\<0[xX]\x*[g-zG-Z]\x*[lL]\=\>" display
|
|
213
|
+
|
212
|
214
|
syn match pythonHexNumber "\<0[xX]\x\+[lL]\=\>" display
|
213
|
215
|
syn match pythonOctNumber "\<0[oO]\o\+[lL]\=\>" display
|
214
|
216
|
syn match pythonBinNumber "\<0[bB][01]\+[lL]\=\>" display
|
|
@@ -220,7 +222,6 @@ syn match pythonFloat "\<\d\+[eE][+-]\=\d\+[jJ]\=\>" display
|
220
|
222
|
syn match pythonFloat "\<\d\+\.\d*\([eE][+-]\=\d\+\)\=[jJ]\=" display
|
221
|
223
|
|
222
|
224
|
syn match pythonOctError "\<0[oO]\=\o*[8-9]\d*[lL]\=\>" display
|
223
|
|
-syn match pythonHexError "\<0[xX]\x*[g-zG-Z]\x*[lL]\=\>" display
|
224
|
225
|
syn match pythonBinError "\<0[bB][01]*[2-9]\d*[lL]\=\>" display
|
225
|
226
|
|
226
|
227
|
if exists("python_highlight_builtins") && python_highlight_builtins != 0
|