[BACK]Return to tree.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.bin / xlint / lint1

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.bin/xlint/lint1/tree.c between version 1.84.10.2 and 1.85

version 1.84.10.2, 2018/09/30 01:45:59 version 1.85, 2018/06/29 20:18:05
Line 1298  asgntypok(op_t op, int arg, tnode_t *ln,
Line 1298  asgntypok(op_t op, int arg, tnode_t *ln,
         switch (op) {          switch (op) {
         case INIT:          case INIT:
                 /* initialisation type mismatch */                  /* initialisation type mismatch */
                 error(185, tyname(lbuf, sizeof(lbuf), ltp),                  error(185);
                     tyname(rbuf, sizeof(rbuf), rtp));  
                 break;                  break;
         case RETURN:          case RETURN:
                 /* return value type mismatch */                  /* return value type mismatch */
                 error(211, tyname(lbuf, sizeof(lbuf), ltp),                  error(211);
                     tyname(rbuf, sizeof(rbuf), rtp));  
                 break;                  break;
         case FARG:          case FARG:
                 /* argument is incompatible with prototype, arg #%d */                  /* argument is incompatible with prototype, arg #%d */

Legend:
Removed from v.1.84.10.2  
changed lines
  Added in v.1.85

CVSweb <webmaster@jp.NetBSD.org>