ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/mgflib/mgfdoc.tr
(Generate patch)

Comparing ray/src/cv/mgflib/mgfdoc.tr (file contents):
Revision 1.9 by greg, Wed Nov 22 12:23:27 1995 UTC vs.
Revision 1.11 by greg, Fri Dec 1 11:07:51 1995 UTC

# Line 3278 | Line 3278 | and return one of the non-zero values from "parser.h"
3278   #define MG_ESEEK                9               /* file seek error */
3279   #define MG_EBADMAT      10              /* bad material specification */
3280   #define MG_ELINE                11              /* input line too long */
3281 + #define MG_ECNTXT               12              /* unmatched context close */
3282  
3283 < #define MG_NERRS        12
3283 > #define MG_NERRS        13
3284   .DE
3285   If it is inappropriate to send output to standard error, the calling
3286   program should use the routines listed under
# Line 3363 | Line 3364 | The
3364   function reads the next input line from the current file,
3365   returning the number of characters in the line, or zero if the
3366   end of file is reached or there is a file error.
3367 < If the last character read in the input line is not a newline,
3367 > If the value returned equals MG_MAXLINE-1,
3368   then the input line was too long, and you
3369   should return an MG_ELINE error.
3370 < The function skips over escaped newlines, and keeps track of the
3370 > The function keeps track of the
3371   line number in the current file context
3372   .I mg_file,
3373   which also contains the line that was read.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines