mirror of
https://github.com/NixOS/nix
synced 2025-06-29 06:21:14 +02:00
* More missing constructs.
This commit is contained in:
parent
4d6ad5be17
commit
a60317f20f
6 changed files with 161 additions and 138 deletions
|
@ -45,7 +45,6 @@ static void adjustLoc(YYLTYPE * loc, const char * s, size_t len)
|
|||
|
||||
static Expr * unescapeStr(const char * s)
|
||||
{
|
||||
#if 0
|
||||
string t;
|
||||
char c;
|
||||
while ((c = *s++)) {
|
||||
|
@ -64,8 +63,7 @@ static Expr * unescapeStr(const char * s)
|
|||
}
|
||||
else t += c;
|
||||
}
|
||||
return makeStr(toATerm(t), ATempty);
|
||||
#endif
|
||||
return new ExprString(t);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue