Skip to content

Commit 8bfabc4

Browse files
committed
[commonlisp mode] Recognize character literal syntax
Closes codemirror#4401
1 parent 214b6bf commit 8bfabc4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mode/commonlisp/commonlisp.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ CodeMirror.defineMode("commonlisp", function (config) {
4848
else if (/\d/.test(ch) && stream.match(/^\d*#/)) return null;
4949
else if (ch == "|") return (state.tokenize = inComment)(stream, state);
5050
else if (ch == ":") { readSym(stream); return "meta"; }
51+
else if (ch == "\\") { stream.next(); readSym(stream); return "string-2" }
5152
else return "error";
5253
} else {
5354
var name = readSym(stream);

0 commit comments

Comments
 (0)