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

Comparing ray/src/common/caldefn.c (file contents):
Revision 2.6 by greg, Thu Apr 8 16:41:21 1993 UTC vs.
Revision 2.7 by greg, Thu Feb 16 09:49:27 1995 UTC

# Line 556 | Line 556 | getstatement()                 /* get next statement */
556          qname = qualname(dname(ep), 0);
557   #ifdef  REDEFW
558          if ((vdef = varlookup(qname)) != NULL)
559 <            if (vdef->def != NULL) {
559 >            if (vdef->def != NULL && epcmp(ep, vdef->def)) {
560                  wputs(qname);
561                  if (vdef->def->type == ':')
562                      wputs(": redefined constant expression\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines