diff options
Diffstat (limited to 'public/vendor/codemirror/mode/pegjs')
-rw-r--r-- | public/vendor/codemirror/mode/pegjs/pegjs.js | 2 |
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(); |