Skip to content

Commit 8769110

Browse files
flofridaymarijnh
authored andcommitted
[kotlin mode]: Fix unsigned long literal token
1 parent b0c45cf commit 8769110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mode/clike/clike.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
680680
intendSwitch: false,
681681
indentStatements: false,
682682
multiLineStrings: true,
683-
number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,
683+
number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(ul?|l|f)?/i,
684684
blockKeywords: words("catch class do else finally for if where try while enum"),
685685
defKeywords: words("class val var object interface fun"),
686686
atoms: words("true false null this"),

0 commit comments

Comments
 (0)