X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=sect.c;h=7edbfb6410c3c8b301d8d4dcab4ba2960987d66b;hp=66219b6833bac65d9fd489b640076bb3900df352;hb=322522e2a9c1469134226f5d978e7ba900c1893d;hpb=44301fed8a6d94673afa3aae3a8a0a76aebac6f7 diff --git a/sect.c b/sect.c index 66219b6..7edbfb6 100644 --- a/sect.c +++ b/sect.c @@ -455,6 +455,9 @@ int ResolveFixups(int sno) cfileno = *fup.wp++; curlineno = (int)*fup.wp++; DEBUG { printf("ResolveFixups: cfileno=%u\n", cfileno); } + // This is based on global vars cfileno, curfname :-P + // This approach is kinda meh as well. I think we can do better than this. + SetFilenameForErrorReporting(); esym = NULL;