Use std::string for symbol names

This commit is contained in:
Rangi42 committed 2024-03-07 12:40:33 -05:00
1 parent bf45ebb178
commit 097b7c3baf
9 files changed
+163 -193

No files matched your search

+1 -1
View File
@@ -340,7 +340,7 @@ void fstk_RunMacro(char const *macroName, MacroArgs &args) {
FileStackNode *fileInfo = new (std::nothrow) FileStackNode(NODE_MACRO, "");
if (!fileInfo) {
error("Failed to alloc file info for \"%s\": %s\n", macro->name, strerror(errno));
error("Failed to alloc file info for \"%s\": %s\n", macro->name.c_str(), strerror(errno));
return;
}