mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 01:41:12 -03:00
Fix for a busted assertion
This commit is contained in:
@@ -559,7 +559,7 @@ void parser_t::error(int ec, size_t p, const wchar_t *str, ...)
|
||||
|
||||
error_code = ec;
|
||||
|
||||
assert(p <= INT_MAX);
|
||||
// note : p may be -1
|
||||
err_pos = static_cast<int>(p);
|
||||
|
||||
va_start(va, str);
|
||||
|
||||
Reference in New Issue
Block a user