Fix hex numbers

This commit is contained in:
masad-frost 2018-06-08 23:47:44 -07:00
parent 9987c4fd86
commit 6f3c349061

View file

@ -182,7 +182,7 @@ export const language = <ILanguage>{
tokenizer: {
root: [
[/#[xXoObB][0-9a-fA-F]+/, 'number.hex'],
[/0[xX][0-9a-fA-F]+/, 'number.hex'],
[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/, 'number.float'],
[