Fixed hex error display

This commit is contained in:
Dmitry Vasiliev
2008-09-21 20:16:19 +04:00
parent 07c654e70d
commit 6f75c9ab82
2 changed files with 3 additions and 3 deletions

View File

@@ -220,7 +220,7 @@ syn match pythonFloat "\<\d\+[eE][+-]\=\d\+[jJ]\=\>" display
syn match pythonFloat "\<\d\+\.\d*\([eE][+-]\=\d\+\)\=[jJ]\=" display
syn match pythonOctError "\<0[oO]\=\o*[8-9]\d*[lL]\=\>" display
syn match pythonHexError "\<0[xX]\x*\X\x*[lL]\=\>" display
syn match pythonHexError "\<0[xX]\x*[g-zG-Z]\x*[lL]\=\>" display
syn match pythonBinError "\<0[bB][01]*[2-9]\d*[lL]\=\>" display
if exists("python_highlight_builtins") && python_highlight_builtins != 0

View File

@@ -48,11 +48,11 @@ RuntimeWarning FutureWarning OverflowWarning ImportWarning UnicodeWarning
# Numbers
0 0x 0x1f 077 .3 12.34 100L 0j 0j 34.2E-3
0 0x1f 077 .3 12.34 100L 0j 0j 34.2E-3 0b10 0o77
# Erroneous numbers
08 0xk
08 0xk 0x 0b102 0o78
# Strings