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

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

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

revision 708 by johnpye, Wed Jun 21 07:00:45 2006 UTC revision 709 by johnpye, Wed Jun 28 16:28:57 2006 UTC
# Line 245  struct Instance *NextCliqueMember(CONST Line 245  struct Instance *NextCliqueMember(CONST
245      return (struct Instance *)i;      return (struct Instance *)i;
246    default:    default:
247      Asc_Panic(2, NULL, "Invalid arguments to NextCliqueMember.\n");      Asc_Panic(2, NULL, "Invalid arguments to NextCliqueMember.\n");
248      exit(2);/* Needed to keep gcc from whining */      
249    }    }
250  }  }
251    
# Line 387  unsigned int GetAnonFlags(CONST struct I Line 387  unsigned int GetAnonFlags(CONST struct I
387      return 0;      return 0;
388    default:    default:
389      Asc_Panic(2, NULL, "Incorrect type in GetAnonFlags\n"); /*NOTREACHED*/      Asc_Panic(2, NULL, "Incorrect type in GetAnonFlags\n"); /*NOTREACHED*/
390      exit(2);/* Needed to keep gcc from whining */      
391    }    }
392  }  }
393    
# Line 603  unsigned long InstanceSize(CONST struct Line 603  unsigned long InstanceSize(CONST struct
603      return len;      return len;
604    default:    default:
605      Asc_Panic(2, NULL, "Invalid argument to InstanceSize.\n");      Asc_Panic(2, NULL, "Invalid argument to InstanceSize.\n");
606      exit(2);/* Needed to keep gcc from whining */      
607    }    }
608  }  }
609    
# Line 617  int IntegerSetInstance(CONST struct Inst Line 617  int IntegerSetInstance(CONST struct Inst
617      return S_INST(i)->int_set;      return S_INST(i)->int_set;
618    default:    default:
619      Asc_Panic(2, NULL, "IntegerSetInstance called with non-set argument.\n");      Asc_Panic(2, NULL, "IntegerSetInstance called with non-set argument.\n");
620      exit(2);/* Needed to keep gcc from whining */      
621    }    }
622  }  }
623    
# Line 668  struct TypeDescription *InstanceTypeDesc Line 668  struct TypeDescription *InstanceTypeDesc
668      return NULL;      return NULL;
669    default:    default:
670      Asc_Panic(2, NULL, "Unknown instance type passed to InstanceTypeDesc.\n");      Asc_Panic(2, NULL, "Unknown instance type passed to InstanceTypeDesc.\n");
671      exit(2);/* Needed to keep gcc from whining */      
672    }    }
673  }  }
674    
# Line 730  symchar *InstanceType(register CONST str Line 730  symchar *InstanceType(register CONST str
730      return GetBaseTypeName(symbol_type);      return GetBaseTypeName(symbol_type);
731    default:    default:
732      Asc_Panic(2, NULL, "InstanceType called on invalid instance.\n");      Asc_Panic(2, NULL, "InstanceType called on invalid instance.\n");
733      exit(2);/* Needed to keep gcc from whining */      
734    }    }
735  }  }
736    
# Line 764  struct BitList *InstanceBitList(CONST st Line 764  struct BitList *InstanceBitList(CONST st
764      return NULL;      return NULL;
765    default:    default:
766      Asc_Panic(2, NULL, "Unknown instance type passed to InstanceBitList.\n");      Asc_Panic(2, NULL, "Unknown instance type passed to InstanceBitList.\n");
767      exit(2);/* Needed to keep gcc from whining */      
768    }    }
769  }  }
770    

Legend:
Removed from v.708  
changed lines
  Added in v.709

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