Support env[] expression #2071

This commit is contained in:
Mike Farah
2024-06-15 21:56:32 +10:00
parent 7bad2f4f06
commit d9af2dd976
4 changed files with 23 additions and 3 deletions
+1 -1
View File
@@ -406,7 +406,7 @@ func envOp(strenv bool) yqAction {
envOperation.OperationType = envOpType
envOperation.Preferences = preferences
return &token{TokenType: operationToken, Operation: envOperation}, nil
return &token{TokenType: operationToken, Operation: envOperation, CheckForPostTraverse: envOpType.CheckForPostTraverse}, nil
}
}