nushell/crates/nu-parser/src
Jakub Žádník 6ae7884786
Fix path dots expansion (#3491)
* Fix parser expanding dots where it shouldn't

Previously, the parser would expand "a...b" as "a../..b". Now, >2 dots
are only expanded when the whole path component consists of dots (i.e.,
"..." expands to "../.." while "a...b" stays as it is).

* Respect OS separator when expanding >2 dots

"..." now expands to either "../.." or "..\..", based on the host OS.
2021-05-26 20:17:18 +12:00
..
lex Fix typos and capitalization of "Unicode" (#3234) 2021-04-04 07:14:07 +12:00
parse Split unit into duration and filesize (#3453) 2021-05-21 13:21:46 +12:00
errors.rs Getting ready for multiline scripts (#2737) 2020-11-10 05:27:07 +13:00
lib.rs Source path including tilda (#3059) 2021-02-15 21:41:49 +13:00
parse.rs Fix bad operator (#3479) 2021-05-24 17:27:10 +12:00
path.rs Fix path dots expansion (#3491) 2021-05-26 20:17:18 +12:00
scope.rs Move from using a Block to an Arc'd Block (#3289) 2021-04-09 20:12:25 +12:00
shapes.rs Fix bad operator (#3479) 2021-05-24 17:27:10 +12:00
signature.rs Pipeline blocks (#1579) 2020-04-13 19:59:57 +12:00