mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Remove EQUS callbacks for symbols
They're no longer used since `__FILE__` was removed
This commit is contained in:
@@ -1262,7 +1262,7 @@ static char const *readInterpolation(size_t depth)
|
||||
if (!sym) {
|
||||
error("Interpolated symbol \"%s\" does not exist\n", symName);
|
||||
} else if (sym->type == SYM_EQUS) {
|
||||
fmt.printString(buf, sizeof(buf), sym->getStringValue());
|
||||
fmt.printString(buf, sizeof(buf), sym->equs->c_str());
|
||||
return buf;
|
||||
} else if (sym->isNumeric()) {
|
||||
fmt.printNumber(buf, sizeof(buf), sym->getConstantValue());
|
||||
@@ -1894,7 +1894,7 @@ static int yylex_NORMAL()
|
||||
Symbol const *sym = sym_FindExactSymbol(yylval.symName);
|
||||
|
||||
if (sym && sym->type == SYM_EQUS) {
|
||||
char const *s = sym->getStringValue();
|
||||
char const *s = sym->equs->c_str();
|
||||
|
||||
assert(s);
|
||||
if (s[0])
|
||||
|
||||
Reference in New Issue
Block a user