/[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 1196 by johnpye, Sun Jan 7 09:15:56 2007 UTC revision 1197 by johnpye, Mon Jan 22 06:28:14 2007 UTC
# Line 283  VOIDPTR GetInterfacePtr(CONST struct Ins Line 283  VOIDPTR GetInterfacePtr(CONST struct Ins
283    case BOOLEAN_INST:        /* fall through */    case BOOLEAN_INST:        /* fall through */
284    case SET_INST:        /* fall through */    case SET_INST:        /* fall through */
285    case SYMBOL_INST:     /* fall through */    case SYMBOL_INST:     /* fall through */
286      FPRINTF(ASCERR,"Instance type does not possess an GetInterfacePtr.\n");      /* FPRINTF(ASCERR,"Instance type does not possess an GetInterfacePtr."); */
287        break;
288    default:    default:
289      ASC_PANIC("Undefined instance type passed to GetInterfacePtr.\n");      ASC_PANIC("Undefined instance type %d passed to GetInterfacePtr",i->t);
290    }    }
291    return NULL;    return NULL;
292  }  }
293    
# Line 343  void SetInterfacePtr(struct Instance *i, Line 344  void SetInterfacePtr(struct Instance *i,
344    case BOOLEAN_INST:        /* fall through */    case BOOLEAN_INST:        /* fall through */
345    case SET_INST:        /* fall through */    case SET_INST:        /* fall through */
346    case SYMBOL_INST:     /* fall through */    case SYMBOL_INST:     /* fall through */
347      FPRINTF(ASCERR,"Instance type does not possess an InterfacePtr.\n");      FPRINTF(ASCERR,"Instance type does not possess an InterfacePtr.");
348        return;
349    default:    default:
350      ASC_PANIC("Undefined instance type passed to InterfacePtr.\n");      ASC_PANIC("Undefined instance type passed to InterfacePtr.\n");
351    }    }

Legend:
Removed from v.1196  
changed lines
  Added in v.1197

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