diff options
Diffstat (limited to 'src/libexpr/parser.y')
-rw-r--r-- | src/libexpr/parser.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y index dc995db00..ab0b86224 100644 --- a/src/libexpr/parser.y +++ b/src/libexpr/parser.y @@ -488,7 +488,7 @@ attrpath $$->push_back(AttrName(str->s)); delete str; } else - $$->push_back(AttrName($3)); + $$->push_back(AttrName(static_cast<ExprConcatStrings *>($3))); } | attr { $$ = new vector<AttrName>; $$->push_back(AttrName(data->symbols.create($1))); } | string_attr @@ -498,7 +498,7 @@ attrpath $$->push_back(AttrName(str->s)); delete str; } else - $$->push_back(AttrName($1)); + $$->push_back(AttrName(static_cast<ExprConcatStrings *>($1))); } ; |