This commit is contained in:
Johannes Altmanninger 2020-01-17 17:27:18 +01:00
parent 05ddda9155
commit 4170e8cff2

View File

@ -1579,7 +1579,7 @@ void completer_t::perform() {
// but this is not smart enough to report correct error locations, so we ignore
// errors and this create one scope for each assignment instead of just one;
// that should hardly matter
const block_t *block = block =
const block_t *block =
ctx.parser->push_block(block_t::variable_assignment_block());
const wcstring variable_name = cmd.substr(0, *equals_pos);
const wcstring expression = cmd.substr(*equals_pos + 1);