]> Shamusworld >> Repos - rmac/blobdiff - sect.c
Fixed missing error reporting on fixup stage.
[rmac] / sect.c
diff --git a/sect.c b/sect.c
index 66219b6833bac65d9fd489b640076bb3900df352..7edbfb6410c3c8b301d8d4dcab4ba2960987d66b 100644 (file)
--- 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;