We need to call do_strip() at the start to ensure the correct
col and indent is used for the first token.
Signed-off-by: NeilBrown <neilb@suse.de>
memset(state, 0, sizeof(*state));
state->node = code;
state->line = code->line_no;
memset(state, 0, sizeof(*state));
state->node = code;
state->line = code->line_no;
+ state->col = code->indent;
return state;
}
void token_close(struct token_state *state)
return state;
}
void token_close(struct token_state *state)