X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=token.c;h=9754f4e4220750a0b0e92886eb414a60ace3bb8d;hp=e1be9b5b8871ea3cde208b29b8e9a072f43ec64d;hb=c2caacfdc844e2f8b5d05b0699fbacc04b4ce8ea;hpb=eace4e1b294ccec54a5c476619f616f5da0bf8a9 diff --git a/token.c b/token.c index e1be9b5..9754f4e 100644 --- a/token.c +++ b/token.c @@ -716,6 +716,11 @@ char * GetNextRepeatLine(void) // strp = irept->ir_nextln; } + // Mark the current macro line in the irept object + // This is probably overkill - a global variable + // would suffice here (it only gets used during + // error reporting anyway) + irept->lineno = irept->ir_nextln->lineno; // strcpy(irbuf, (char *)(irept->ir_nextln + 1)); strcpy(irbuf, irept->ir_nextln->line);