/[ascend]/trunk/pygtk/library.cpp
ViewVC logotype

Diff of /trunk/pygtk/library.cpp

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

revision 2002 by jpye, Wed Jan 21 22:56:28 2009 UTC revision 2003 by jpye, Fri Mar 13 05:30:00 2009 UTC
# Line 166  Library::loadString(const char *str, con Line 166  Library::loadString(const char *str, con
166      }      }
167    
168      CONSOLE_DEBUG("Beginning parse of %s",Asc_ModuleName(m));      CONSOLE_DEBUG("Beginning parse of %s",Asc_ModuleName(m));
169      //error_reporter_tree_start();      error_reporter_tree_start();
170      status = zz_parse();      status = zz_parse();
171      switch(status){      switch(status){
172          case 0: break;          case 0: break;
# Line 174  Library::loadString(const char *str, con Line 174  Library::loadString(const char *str, con
174          case 2: ERROR_REPORTER_NOLINE(ASC_PROG_FATAL,"Out of memory when parsing %s",Asc_ModuleName(m)); break;          case 2: ERROR_REPORTER_NOLINE(ASC_PROG_FATAL,"Out of memory when parsing %s",Asc_ModuleName(m)); break;
175          default: ERROR_REPORTER_NOLINE(ASC_PROG_ERROR,"Invalid return from zz_parse"); break;          default: ERROR_REPORTER_NOLINE(ASC_PROG_ERROR,"Invalid return from zz_parse"); break;
176      }      }
177      //status = error_reporter_tree_has_error();      status = error_reporter_tree_has_error();
178      //error_reporter_tree_end();      error_reporter_tree_end();
179      /*      /*
180      if(!status){      if(!status){
181          CONSOLE_DEBUG("CLEARING TREE...");          CONSOLE_DEBUG("CLEARING TREE...");

Legend:
Removed from v.2002  
changed lines
  Added in v.2003

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