diff options
| author | Ansgar Mertens <ansgar@hashicorp.com> | 2024-03-12 09:36:49 +0100 |
|---|---|---|
| committer | Ansgar Mertens <ansgar@hashicorp.com> | 2024-03-12 09:36:49 +0100 |
| commit | 1cbb0d41b1499559bd3dddc37d6873c28f179952 (patch) | |
| tree | f045fc6d1cb12e38608b067d7b687e01c7b49a40 /hclsyntax/expression_vars.go | |
| parent | 57f8bbf184a628a6dedb36520db1c90bfab7fb06 (diff) | |
feat: return ExprSyntaxError instead of nil when expression parsing fails for namespaced functions
Diffstat (limited to 'hclsyntax/expression_vars.go')
| -rwxr-xr-x | hclsyntax/expression_vars.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hclsyntax/expression_vars.go b/hclsyntax/expression_vars.go index ce5a5cb..6c3e472 100755 --- a/hclsyntax/expression_vars.go +++ b/hclsyntax/expression_vars.go @@ -3,7 +3,7 @@ package hclsyntax -// Generated by expression_vars_get.go. DO NOT EDIT. +// Generated by expression_vars_gen.go. DO NOT EDIT. // Run 'go generate' on this package to update the set of functions here. import ( @@ -22,6 +22,10 @@ func (e *ConditionalExpr) Variables() []hcl.Traversal { return Variables(e) } +func (e *ExprSyntaxError) Variables() []hcl.Traversal { + return Variables(e) +} + func (e *ForExpr) Variables() []hcl.Traversal { return Variables(e) } |
