We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd44c94 commit e1b414dCopy full SHA for e1b414d
mode/dart/dart.js
@@ -44,6 +44,8 @@
44
blockKeywords: set(blockKeywords),
45
builtin: set(builtins),
46
atoms: set(atoms),
47
+ // clike numbers without the suffixes, and with '_' separators.
48
+ number: /^(?:0x[a-f\d_]+|(?:[\d_]+\.?[\d_]*|\.[\d_]+)(?:e[-+]?[\d_]+)?)/i,
49
hooks: {
50
"@": function(stream) {
51
stream.eatWhile(/[\w\$_\.]/);
0 commit comments