]> Shamusworld >> Repos - rmac/blobdiff - sect.c
Fix for bug #78: Thanks to ggn for reporting and supplying the patch.
[rmac] / sect.c
diff --git a/sect.c b/sect.c
index 5690b1bd52c7ed8688617b4282ceb2989055d9df..619c1632b00879c72eda8bd132fa55a9c9e0a3f4 100644 (file)
--- a/sect.c
+++ b/sect.c
@@ -36,6 +36,7 @@ CHUNK * scode;                        // Current (last) code chunk
 LONG challoc;                  // # bytes alloc'd to code chunk 
 LONG ch_size;                  // # bytes used in code chunk 
 char * chptr;                  // Deposit point in code chunk buffer 
+char * chptr_opcode;   // Backup of chptr, updated before entering code generators
 
 CHUNK * sfix;                  // Current (last) fixup chunk
 LONG fchalloc;                 // # bytes alloc'd to fixup chunk