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

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

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

revision 930 by johnpye, Wed Nov 22 13:09:09 2006 UTC revision 931 by johnpye, Thu Nov 23 04:31:19 2006 UTC
# Line 64  ASC_DLLSPEC(int) importhandler_add(struc Line 64  ASC_DLLSPEC(int) importhandler_add(struc
64      for(i=0; i< IMPORTHANDLER_MAX; ++i){      for(i=0; i< IMPORTHANDLER_MAX; ++i){
65          if(importhandler_library[i] == NULL)break;          if(importhandler_library[i] == NULL)break;
66          if(importhandler_library[i]->name == handler->name){          if(importhandler_library[i]->name == handler->name){
67              ERROR_REPORTER_HERE(ASC_PROG_NOTE,"Handler already loaded");              ERROR_REPORTER_HERE(ASC_USER_NOTE,"Handler already loaded");
68              return 0;              return 0;
69          }          }
70      }      }
# Line 73  ASC_DLLSPEC(int) importhandler_add(struc Line 73  ASC_DLLSPEC(int) importhandler_add(struc
73          return 1;          return 1;
74      }      }
75      importhandler_library[i] = handler;      importhandler_library[i] = handler;
76      ERROR_REPORTER_HERE(ASC_PROG_NOTE,"New import hander '%s' added\n",handler->name);      ERROR_REPORTER_HERE(ASC_USER_NOTE,"New import hander '%s' added",handler->name);
77      return 0;      return 0;
78  }  }
79    

Legend:
Removed from v.930  
changed lines
  Added in v.931

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