Browse Source

Extend Asm-Mode.xshd to recognize some more variants of number literals.

pull/1872/head
Siegfried Pammer 6 years ago
parent
commit
bc3fe784a5
  1. 2
      ILSpy/TextView/Asm-Mode.xshd

2
ILSpy/TextView/Asm-Mode.xshd

@ -1190,7 +1190,7 @@
<Begin>;</Begin> <Begin>;</Begin>
</Span> </Span>
<Rule color="NumberLiteral"> <Rule color="NumberLiteral">
\b0[xX][0-9a-fA-F]+ # hex number \b(0[xXhH])?[0-9a-fA-F_`]+[h]? # hex number
| |
( \b\d+(\.[0-9]+)? #number with optional floating point ( \b\d+(\.[0-9]+)? #number with optional floating point
| \.[0-9]+ #or just starting with floating point | \.[0-9]+ #or just starting with floating point

Loading…
Cancel
Save