mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 11:31:15 -03:00
Convert some cases where parsers are created to using PARSER_TYPE_GENERAL
This commit is contained in:
2
fish.cpp
2
fish.cpp
@@ -77,7 +77,7 @@ static int read_init()
|
||||
wchar_t *config_dir_escaped;
|
||||
void *context;
|
||||
string_buffer_t *eval_buff;
|
||||
parser_t parser(PARSER_TYPE_GENERAL);
|
||||
parser_t &parser = parser_t::principal_parser();
|
||||
|
||||
parser.eval( L"builtin . " DATADIR "/fish/config.fish 2>/dev/null", 0, TOP );
|
||||
parser.eval( L"builtin . " SYSCONFDIR L"/fish/config.fish 2>/dev/null", 0, TOP );
|
||||
|
||||
Reference in New Issue
Block a user