Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Commit ca768ce

Browse files
flofridaymarijnh
authored andcommitted
Fix Kotlin unsigned long literal token
1 parent 7bc6fee commit ca768ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mode/clike.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ export const kotlin = clike({
646646
intendSwitch: false,
647647
indentStatements: false,
648648
multiLineStrings: true,
649-
number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,
649+
number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(ul?|l|f)?/i,
650650
blockKeywords: words("catch class do else finally for if where try while enum"),
651651
defKeywords: words("class val var object interface fun"),
652652
atoms: words("true false null this"),

0 commit comments

Comments
 (0)