[BACK]Return to struct.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / parse

Diff for /OpenXM_contrib2/asir2000/parse/struct.c between version 1.6 and 1.7

version 1.6, 2003/05/14 06:20:13 version 1.7, 2004/03/17 08:16:24
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/parse/struct.c,v 1.5 2001/10/09 01:36:25 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/parse/struct.c,v 1.6 2003/05/14 06:20:13 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 90  int structdef(char *name,NODE member)
Line 90  int structdef(char *name,NODE member)
   
 void newstruct(int type,COMP *rp)  void newstruct(int type,COMP *rp)
 {  {
           if ( type < 0 || type >= LSS->n ) error("");
         NEWCOMP(*rp,LSS->sa[type].n); (*rp)->type = type;          NEWCOMP(*rp,LSS->sa[type].n); (*rp)->type = type;
 }  }
   

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>