--- trunk/ascend/compiler/instance_io.c 2012/10/09 03:44:01 2643 +++ trunk/ascend/compiler/instance_io.c 2012/10/09 12:29:42 2644 @@ -106,7 +106,7 @@ } } CONSOLE_DEBUG("No match"); - 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); } /*------------------------------------------------------------------------------ @@ -847,7 +847,7 @@ SCP(GetName(GetArrayBaseType(InstanceTypeDesc(i))))); break; default: - ASC_PANIC("Unknown instance type in WriteTypeOrValue.\n"); + ASC_PANIC("Unknown instance type in WriteTypeOrValue."); break; } } @@ -1085,7 +1085,7 @@ FPRINTF(f,"GlobalDummyInstance\n"); break; default: - ASC_PANIC("Unknown instance type in WriteInstance.\n"); + ASC_PANIC("Unknown instance type in WriteInstance."); } } @@ -1515,7 +1515,7 @@ FPRINTF(fp,"UNSELECTED;\n"); break; default: - ASC_PANIC("Unknown instance kind in Save__ComplexInsts.\n"); + ASC_PANIC("Unknown instance kind in Save__ComplexInsts."); break; } }