lean@munmurra.cs.mu.oz (Giles Lean) (06/20/88)
Although mcc is not particularly designed for multiple files, (it compiles all files each time the compiler is invoked, and only invokes the editor on the first file with an error), it can be used with more than one file; however a problem arises that errors from later file(s) may be treated as having occured in the first file. The fix is to change line 234 from while (slineno == elineno) == 0) { to while (slineno == elineno && strcmp(firstname, srcname) == 0) { which solves the problem. Giles Lean. ACSnet: lean@munnari.oz UUCP: lean@munnari.UUCP