Guard against accessing indent length stack before intialization
@@ -312,6 +312,7 @@ struct Scanner {
}
}
+ if (indent_length_stack.size() > 0) {
if (indent_length < indent_length_stack.back()) {
while (indent_length < indent_length_stack.back()) {
if (indent_length_stack.size() > 0) {
@@ -336,6 +337,7 @@ struct Scanner {
}
}
}
+ }
return false;
}
