X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fasm.c;fp=src%2Fasm.c;h=d31b0ea154e871dc96b071ae33243d187be0c732;hb=bb24e1163a01518ea8814201919eb02838baae4b;hp=9722ced0cb076d67565ad2c5fb1c8522718a75c9;hpb=94be96c2f91d5bbf593e73c4f55a5e4492bb0ebc;p=fw%2Fsdcc diff --git a/src/asm.c b/src/asm.c index 9722ced0..d31b0ea1 100644 --- a/src/asm.c +++ b/src/asm.c @@ -219,6 +219,7 @@ char *printCLine (char *srcFile, int lineno) { if (strcmp (lastSrcFile, srcFile) != 0) { fclose (inFile); inFile = NULL; + inLineNo = 0; } } if (!inFile) {