Skip to content
Snippets Groups Projects
Commit 9d630718 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[mode/simple addon] Fix crash bug

Issue #4819
parent 66c02a5f
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,7 @@
if (rule.data.dedent)
state.indent.pop();
var token = rule.token
if (token.apply) token = token(matches)
if (token && token.apply) token = token(matches)
if (matches.length > 2) {
state.pending = [];
for (var j = 2; j < matches.length; j++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment