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-06-25 22:31:06 +02:00
2019-06-26 21:19:40 +02:00
2019-06-26 21:19:40 +02:00
2019-06-26 21:19:40 +02:00
2019-06-25 16:11:24 +02:00
2019-07-02 23:48:25 +02:00
2019-06-26 21:19:40 +02:00
2019-06-25 22:31:06 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-07-03 13:02:15 +02:00
2019-06-26 21:19:40 +02:00
2019-06-28 20:48:11 +02:00
2019-06-28 11:22:49 -07:00
2019-07-03 15:14:49 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 22:31:06 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-25 20:56:29 +02:00
2019-06-26 21:19:40 +02:00
2019-06-25 20:56:29 +02:00
2019-06-16 14:10:41 -07:00
2019-06-25 20:56:29 +02:00
2019-07-02 23:05:50 +02:00
2019-07-31 13:52:36 +02:00
2019-07-09 10:02:50 -07:00
2019-06-26 11:07:46 -07:00
2019-07-21 14:00:27 -07:00
2019-07-31 14:08:28 +02:00
2019-06-25 20:56:29 +02:00