Fabian Homborg 29e9f4838a Run parse_util_detect_errors on -c commands
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.
2021-07-27 18:37:20 +02:00
..
2020-02-08 13:30:48 +01:00
2021-02-16 16:45:59 +01:00
2019-06-26 21:19:40 +02:00
2020-01-19 15:07:06 +01:00
2021-02-15 17:08:26 +01:00
2021-06-23 21:30:10 +02:00
2020-12-29 12:48:11 +01:00
2020-02-07 20:53:20 +01:00
2021-06-24 18:19:28 +02:00
2020-04-26 08:49:01 +02:00
2021-07-26 18:40:50 +02:00
2020-02-17 11:39:53 +01:00
2021-06-24 18:17:10 +02:00
2021-07-21 22:33:39 +02:00
2021-07-03 08:45:47 +02:00
2019-07-09 10:02:50 -07:00
2021-06-24 20:46:03 +02:00
2021-06-24 18:17:10 +02:00
2021-06-24 20:46:03 +02:00
2021-03-02 14:53:02 +01:00
2020-03-16 21:21:10 +01:00
2021-06-24 18:17:10 +02:00
2020-09-26 14:56:03 +02:00