summaryrefslogtreecommitdiff
path: root/public/vendor/codemirror/mode/ebnf
diff options
context:
space:
mode:
Diffstat (limited to 'public/vendor/codemirror/mode/ebnf')
-rw-r--r--public/vendor/codemirror/mode/ebnf/ebnf.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/codemirror/mode/ebnf/ebnf.js b/public/vendor/codemirror/mode/ebnf/ebnf.js
index 6b51aba0..9618f8e4 100644
--- a/public/vendor/codemirror/mode/ebnf/ebnf.js
+++ b/public/vendor/codemirror/mode/ebnf/ebnf.js
@@ -94,7 +94,7 @@
if (bracesMode !== null && (state.braced || peek === "{")) {
if (state.localState === null)
- state.localState = bracesMode.startState();
+ state.localState = CodeMirror.startState(bracesMode);
var token = bracesMode.token(stream, state.localState),
text = stream.current();