summaryrefslogtreecommitdiff
path: root/public/vendor/codemirror/mode/pegjs
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-06-01 14:37:28 +0800
committerCheng-Han, Wu2016-06-01 14:37:28 +0800
commitfb70833bc52aedffa3ed0764a31b706dd1fb3250 (patch)
tree5d88e7b20afea400a8c11eb0dc07734df3381917 /public/vendor/codemirror/mode/pegjs
parent16d5e3ea8020c839dd6e2dd192e8ccba71f39eed (diff)
Update CodeMirror to version 5.15.3
Diffstat (limited to 'public/vendor/codemirror/mode/pegjs')
-rw-r--r--public/vendor/codemirror/mode/pegjs/pegjs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/codemirror/mode/pegjs/pegjs.js b/public/vendor/codemirror/mode/pegjs/pegjs.js
index 8e87b59e..6c720746 100644
--- a/public/vendor/codemirror/mode/pegjs/pegjs.js
+++ b/public/vendor/codemirror/mode/pegjs/pegjs.js
@@ -81,7 +81,7 @@ CodeMirror.defineMode("pegjs", function (config) {
return "comment";
} else if (state.braced || stream.peek() === '{') {
if (state.localState === null) {
- state.localState = jsMode.startState();
+ state.localState = CodeMirror.startState(jsMode);
}
var token = jsMode.token(stream, state.localState);
var text = stream.current();