mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
The expr of AttrNames/DynamicAttrDefs is always an ExprConcatStrings
This commit is contained in:
parent
908e9ce259
commit
049a379ec6
3 changed files with 10 additions and 12 deletions
|
@ -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)));
|
||||
}
|
||||
;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue