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

Comparing ray/src/cv/mgflib/parser.c (file contents):
Revision 1.24 by greg, Tue Mar 18 11:17:24 1997 UTC vs.
Revision 1.25 by greg, Fri Mar 21 12:32:41 1997 UTC

# Line 315 | Line 315 | mg_parse()                     /* parse current input line */
315   {
316          char    abuf[MG_MAXLINE];
317          char    *argv[MG_MAXARGC];
318        int     en;
318          register char   *cp, *cp2, **ap;
319                                          /* copy line, removing escape chars */
320          cp = abuf; cp2 = mg_file->inpline;
# Line 810 | Line 809 | char   **av;
809                  if (rad2 == 0.)
810                          return(MG_EILL);
811          } else if (rad2 != 0.) {
812 <                if (rad1 < 0. ^ rad2 < 0.)
812 >                if ((rad1 < 0.) ^ (rad2 < 0.))
813                          return(MG_EILL);
814          } else {                        /* swap */
815                  C_VERTEX        *cv;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines