mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 10:43:32 +08:00
29e9f4838a
This didn't do all the syntax checks, so something like fish -c 'echo foo; and $status' complained of a missing command `0` (i.e. $status), and fish -c 'echo foo | exec grep' hit an assert! So we do what read_ni does, parse each command into an ast, run parse_util_detect_errors on it if it worked and then eval the ast. It is possible to do this neater by modifying parser::eval, but I can't find where. |
||
---|---|---|
.. | ||
checks | ||
pexpects | ||
test_functions | ||
.gitignore | ||
history_sample_bash | ||
history_sample_corrupt1 | ||
history_sample_fish_1_x | ||
history_sample_fish_2_0 | ||
interactive.config | ||
interactive.fish | ||
test_util.fish | ||
test.fish |