Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2022-02-02 12:30:52 -07:00
parent 6844c212b6
commit eb74dc624c
1 changed files with 2 additions and 5 deletions

View File

@ -546,11 +546,8 @@ libertyIncludeBegin(const char *filename)
liberty_filename = filename; liberty_filename = filename;
liberty_line = 1; liberty_line = 1;
} }
else { else
string file(filename); libertyParseError("cannot open include file %s.", filename);
stringDelete(filename);
libertyParseError("cannot open include file %s.", file.c_str());
}
} }
void void