/[ascend]/trunk/base/generic/compiler/relation_io.c
ViewVC logotype

Diff of /trunk/base/generic/compiler/relation_io.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 100 by ben.allan, Thu Nov 18 06:17:50 2004 UTC revision 101 by jds, Sat Dec 10 04:22:07 2005 UTC
# Line 1675  void SaveGlassBoxRelation(FILE *fp, CONS Line 1675  void SaveGlassBoxRelation(FILE *fp, CONS
1675    int len;    int len;
1676    
1677    reln = GetInstanceRelation(relinst,&type);    reln = GetInstanceRelation(relinst,&type);
1678    len = GlassBoxNumberArgs(reln);    len = GlassBoxNumberArgs(reln);                    
1679    if (len==0) return;    if (len==0) return;
1680    if (NumberVariables(reln)!=len) {    if (NumberVariables(reln) != (unsigned long)len) {
1681      FPRINTF(ASCERR,"Corrupted arguements in glassbox relation\n");      FPRINTF(ASCERR,"Corrupted arguements in glassbox relation\n");
1682      return;      return;
1683    }    }

Legend:
Removed from v.100  
changed lines
  Added in v.101

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22