allow empty templates and template interpolations
This commit is contained in:
@@ -20,6 +20,23 @@ foo = "${ var.bar }"
|
||||
(get_attr
|
||||
(identifier))))))))))
|
||||
|
||||
================================================================================
|
||||
empty template
|
||||
================================================================================
|
||||
|
||||
foo = "${}"
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
(config_file
|
||||
(body
|
||||
(attribute
|
||||
(identifier)
|
||||
(expression
|
||||
(template_expr
|
||||
(quoted_template
|
||||
(template_interpolation)))))))
|
||||
|
||||
================================================================================
|
||||
quoted template expression with escaped strings and fake strip marker
|
||||
================================================================================
|
||||
|
||||
Reference in New Issue
Block a user