mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-19 13:01:15 -03:00
Remove node_offset from block_t
It was not used. Also clean up the constructor some.
This commit is contained in:
@@ -802,17 +802,7 @@ void parser_t::get_backtrace(const wcstring &src, const parse_error_list_t &erro
|
||||
}
|
||||
}
|
||||
|
||||
block_t::block_t(block_type_t t)
|
||||
: block_type(t),
|
||||
skip(false),
|
||||
tok_pos(),
|
||||
node_offset(NODE_OFFSET_INVALID),
|
||||
loop_status(LOOP_NORMAL),
|
||||
job(),
|
||||
src_filename(),
|
||||
src_lineno(),
|
||||
wants_pop_env(false),
|
||||
event_blocks() {}
|
||||
block_t::block_t(block_type_t t) : block_type(t) {}
|
||||
|
||||
block_t::~block_t() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user