<-- previous page Table of Contents Index next page -->
There are two "special" kinds of comments. Since Mup takes a text file as input, it may sometimes be convenient to write a program which generates Mup input, based on some higher-level description. But then, if there are any errors found in that generated input, it may be difficult to correlate the error line that Mup outputs with what line in the original input had generated it. To help with that, the generating program could insert special comments to override what Mup uses as the current file name and line number when reporting errors or warnings.
The first special comment format is:
//#file someFileName
The second special comment format is:
//#line N
//#file Etude //#line 42 Any errors on this line will be reported as being from line 42 of file "Etude"