about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-01-06T18·53-0500
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-14T13·00+0100
commitf5e5793cd2f32bc0f0d072b38cda742830f40f25 (patch)
treecce74e5b73c8b587aa0cbc05e993f07791b20aa8 /src
parentf9913f4422d1317af3c6b5aff37ad18b78083eb5 (diff)
Bare dynamic attrs: Match interpolation semantics
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y
index 230584388268..55a42fcaba9f 100644
--- a/src/libexpr/parser.y
+++ b/src/libexpr/parser.y
@@ -509,7 +509,7 @@ attr
 
 string_attr
   : '"' string_parts '"' { $$ = $2; }
-  | DOLLAR_CURLY expr '}' { $$ = $2; }
+  | DOLLAR_CURLY expr '}' { $$ = new ExprConcatStrings(true, new vector<Expr*>(1, $2)); }
   ;
 
 expr_list