Commit 87691101 for codemirror.net
commit 876911012efc844bcbc8e6e764399cf28916d7a7
Author: flofriday <flohacksfriday@gmail.com>
Date: Thu Aug 21 14:47:06 2025 +0200
[kotlin mode]: Fix unsigned long literal token
diff --git a/mode/clike/clike.js b/mode/clike/clike.js
index e9f441fc..f783dfc8 100644
--- a/mode/clike/clike.js
+++ b/mode/clike/clike.js
@@ -680,7 +680,7 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
intendSwitch: false,
indentStatements: false,
multiLineStrings: true,
- number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,
+ number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(ul?|l|f)?/i,
blockKeywords: words("catch class do else finally for if where try while enum"),
defKeywords: words("class val var object interface fun"),
atoms: words("true false null this"),