Skip to content

Commit c65a95d

Browse files
committed
[cypher mode] Fix broken handling of punctuation
Closes codemirror#6872
1 parent b9e6190 commit c65a95d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mode/cypher/cypher.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
CodeMirror.defineMode("cypher", function(config) {
2121
var tokenBase = function(stream/*, state*/) {
22+
curPunc = null
2223
var ch = stream.next();
2324
if (ch ==='"') {
2425
stream.match(/^[^"]*"/);

0 commit comments

Comments
 (0)