mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Fix hex numbers
This commit is contained in:
parent
9987c4fd86
commit
6f3c349061
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ export const language = <ILanguage>{
|
||||||
|
|
||||||
tokenizer: {
|
tokenizer: {
|
||||||
root: [
|
root: [
|
||||||
[/#[xXoObB][0-9a-fA-F]+/, 'number.hex'],
|
[/0[xX][0-9a-fA-F]+/, 'number.hex'],
|
||||||
[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/, 'number.float'],
|
[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/, 'number.float'],
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue