/[ascend]/trunk/ascend/compiler/instance_io.c
ViewVC logotype

Diff of /trunk/ascend/compiler/instance_io.c

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

revision 2643 by jpye, Thu Jan 19 23:49:44 2012 UTC revision 2644 by jpye, Tue Oct 9 12:29:42 2012 UTC
# Line 106  CONST char *instance_typename(CONST stru Line 106  CONST char *instance_typename(CONST stru
106          }          }
107      }      }
108      CONSOLE_DEBUG("No match");      CONSOLE_DEBUG("No match");
109      Asc_Panic(2,__FUNCTION__,"Invalid instance type (inst_t '%d' not found in list)",(int)inst->t);      ASC_PANIC("Invalid instance type (inst_t '%d' not found in list)",(int)inst->t);
110  }  }
111    
112  /*------------------------------------------------------------------------------  /*------------------------------------------------------------------------------
# Line 847  void WriteTypeOrValue(FILE *f, CONST str Line 847  void WriteTypeOrValue(FILE *f, CONST str
847          SCP(GetName(GetArrayBaseType(InstanceTypeDesc(i)))));          SCP(GetName(GetArrayBaseType(InstanceTypeDesc(i)))));
848      break;      break;
849    default:    default:
850      ASC_PANIC("Unknown instance type in WriteTypeOrValue.\n");      ASC_PANIC("Unknown instance type in WriteTypeOrValue.");
851      break;      break;
852    }    }
853  }  }
# Line 1085  void WriteInstance(FILE *f, CONST struct Line 1085  void WriteInstance(FILE *f, CONST struct
1085      FPRINTF(f,"GlobalDummyInstance\n");      FPRINTF(f,"GlobalDummyInstance\n");
1086      break;      break;
1087    default:    default:
1088      ASC_PANIC("Unknown instance type in WriteInstance.\n");      ASC_PANIC("Unknown instance type in WriteInstance.");
1089    }    }
1090  }  }
1091    
# Line 1515  void Save__ComplexInsts(FILE *fp, struct Line 1515  void Save__ComplexInsts(FILE *fp, struct
1515      FPRINTF(fp,"UNSELECTED;\n");      FPRINTF(fp,"UNSELECTED;\n");
1516      break;      break;
1517    default:    default:
1518      ASC_PANIC("Unknown instance kind in Save__ComplexInsts.\n");      ASC_PANIC("Unknown instance kind in Save__ComplexInsts.");
1519      break;      break;
1520    }    }
1521  }  }

Legend:
Removed from v.2643  
changed lines
  Added in v.2644

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