Technical Briefs
ROHAN help Files
mcc
mcc merges the source code with the syntax error messages and
invokes vi on the merged file. To use mcc,
at the ROHAN prompt type:
rohan% mcc program.c -o program
When the file is first opened, the cursor is positioned on the first line
that contains errors. Every error message follows the line to which it refers.
After the current error line is a reference to the next error, or the string
last error meaning all errors have been found. Once the corrections
have been made, the editor should be exited normally. mcc
strips the error messages from the source and re-invokes the compiler for
another try.
This process continues until the program is free of syntax errors. The
edit/compile cycle can be broken by leaving the editor without making
changes, or by using a keyboard interrupt to terminate mcc
after having left the editor.
|
|