Add support for def-env and export def-env (#887)

This commit is contained in:
JT
2022-01-29 15:45:46 -05:00
committed by GitHub
parent bffb4950c2
commit 44821d9941
9 changed files with 194 additions and 6 deletions

View File

@ -3517,7 +3517,7 @@ pub fn parse_statement(
let name = working_set.get_span_contents(lite_command.parts[0]);
match name {
b"def" => parse_def(working_set, lite_command),
b"def" | b"def-env" => parse_def(working_set, lite_command),
b"let" => parse_let(working_set, &lite_command.parts),
b"for" => {
let (expr, err) = parse_for(working_set, &lite_command.parts);