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

Comparing ray/src/cal/rcalc.c (file contents):
Revision 1.36 by greg, Sun Mar 13 16:11:48 2022 UTC vs.
Revision 1.39 by greg, Fri Feb 23 03:47:57 2024 UTC

# Line 155 | Line 155 | char *argv[]
155                          break;
156                  case 'n':
157                          noinput = 1;
158 +                        esupport &= ~E_RCONST;
159                          break;
160                  case 'i':
161                          switch (argv[i][2]) {
# Line 258 | Line 259 | eputs(" [-b][-l][-n][-p|-P][-w][-u][-tS][-s svar=sval]
259          if (blnkeq)     /* for efficiency */
260                  nbsynch();
261  
262 +        doptimize(1);   /* optimize definitions */
263 +
264          if (i == argc)  /* from stdin */
265                  execute(NULL);
266          else            /* from one or more files */
# Line 963 | Line 966 | advinp(int skip)               /* advance home to current position
966  
967  
968   void
969 < eputs(char *msg)
969 > eputs(const char *msg)
970   {
971          fputs(msg, stderr);
972   }
973  
974  
975   void
976 < wputs(char *msg)
976 > wputs(const char *msg)
977   {
978          if (!nowarn)
979                  eputs(msg);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines