Fabian Homborg 6500765256 Allow switch with something that expands to nothing
Meaning empty variables, command substitutions that don't print
anything.

A switch without an argument

```fish
switch
   case ...
end
```

is still a syntax error, and more than one argument is still a runtime
error.

The none-argument matches either an empty-string `case ''` or a
catch-all `case '*'`.

Fixes #5677.

Fixes #4943.
2019-07-31 14:08:28 +02:00
..
2019-05-14 09:49:51 +02:00
2019-05-05 12:09:25 +02:00
2019-06-29 11:28:26 -07:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-06-03 02:48:35 -07:00
2019-05-12 18:23:00 -07:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-06-29 11:28:26 -07:00
2019-05-26 18:51:47 -07:00
2019-07-06 13:11:50 -07:00
2019-05-29 20:50:35 +02:00
2019-06-29 11:28:26 -07:00
2019-05-05 12:09:25 +02:00
2019-06-29 11:28:26 -07:00
2019-05-30 19:13:42 +02:00
2019-04-26 16:08:19 -07:00
2019-06-29 11:28:26 -07:00
2019-06-03 02:48:35 -07:00
2019-06-03 20:30:48 -07:00
2019-05-04 19:30:00 -07:00
2019-05-14 09:49:51 +02:00
2019-05-05 12:09:25 +02:00
2019-05-27 19:47:13 -07:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-07-06 12:19:34 -07:00
2019-05-29 12:34:11 -07:00
2019-03-23 23:31:24 -07:00
2019-03-23 23:31:24 -07:00
2019-04-27 12:07:16 -07:00
2019-05-05 12:09:25 +02:00
2019-05-27 17:31:17 -07:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-06-03 20:30:48 -07:00
2019-06-29 11:28:26 -07:00
2019-05-05 12:09:25 +02:00
2019-05-27 17:24:19 -07:00
2019-05-05 12:09:25 +02:00
2019-06-29 11:28:26 -07:00
2019-06-29 11:28:26 -07:00
2019-06-03 20:30:48 -07:00
2019-06-02 16:37:05 -07:00
2019-05-05 12:09:25 +02:00
2019-05-05 11:33:08 -07:00
2019-06-11 11:34:14 +02:00
2019-06-29 11:28:26 -07:00
2019-06-29 11:28:26 -07:00
2018-12-30 19:34:06 +01:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-03-12 23:25:15 -07:00
2019-07-06 12:19:34 -07:00
2019-07-06 12:19:34 -07:00
2019-05-05 12:09:25 +02:00
2019-04-04 13:47:10 -07:00
2019-05-05 12:09:25 +02:00
2019-06-10 09:37:08 -07:00
2019-06-10 09:37:08 -07:00