remove indents from dowrap if they are 0 width
This commit is contained in:
@@ -75,7 +75,7 @@ ParsedValue *parse_dowrap(char *file, DArray *tokens, size_t *index) {
|
|||||||
pass = true;
|
pass = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (temp_indent_depth >= indent_depth) {
|
if (temp_indent_depth > indent_depth) {
|
||||||
size_t indent_amount = temp_indent_depth-indent_depth;
|
size_t indent_amount = temp_indent_depth-indent_depth;
|
||||||
Token indent_token;
|
Token indent_token;
|
||||||
indent_token.line = token->line;
|
indent_token.line = token->line;
|
||||||
|
|||||||
Reference in New Issue
Block a user