[BACK]Return to emit1.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/emit1.c between version 1.4 and 1.5

version 1.4, 1995/10/02 17:21:28 version 1.5, 1996/12/22 11:31:06
Line 1 
Line 1 
 /*      $NetBSD$        */  /*      $NetBSD$        */
   
 /*  /*
    * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
  * Copyright (c) 1994, 1995 Jochen Pohl   * Copyright (c) 1994, 1995 Jochen Pohl
  * All Rights Reserved.   * All Rights Reserved.
  *   *
Line 187  static void
Line 188  static void
 outtt(tag, tdef)  outtt(tag, tdef)
         sym_t   *tag, *tdef;          sym_t   *tag, *tdef;
 {  {
   
           /*
            * 0 is no longer used.
            */
         if (tag->s_name != unnamed) {          if (tag->s_name != unnamed) {
                 outint(1);                  outint(1);
                 outname(tag->s_name);                  outname(tag->s_name);
Line 194  outtt(tag, tdef)
Line 199  outtt(tag, tdef)
                 outint(2);                  outint(2);
                 outname(tdef->s_name);                  outname(tdef->s_name);
         } else {          } else {
                 outint(0);                  outint(3);
                   outint(tag->s_dpos.p_line);
                   outchar('.');
                   outint(getfnid(tag->s_dpos.p_file));
                   outchar('.');
                   outint(tag->s_dpos.p_uniq);
         }          }
 }  }
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CVSweb <webmaster@jp.NetBSD.org>