Changeset 847

Show
Ignore:
Timestamp:
04/01/09 19:49:35 (5 years ago)
Author:
vdebuen
Message:

Fixes #670

Location:
tolp/trunk/tol
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • tolp/trunk/tol/btol/bgrammar/nameblock.cpp

    r716 r847  
    206206{ 
    207207  if(createdWithNew_) { return(BObject::IsAssigned()); } 
    208   else                { return(true); } 
     208  else                { return(false); } 
    209209} 
    210210 
  • tolp/trunk/tol/init.cpp

    r680 r847  
    562562      "  suma/2\n" 
    563563      "}\n\n"), 
    564            BCopyContens<BCode>::New, 
     564           BRenContens<BCode>::New, 
    565565           BFunArgContens<BCode>::NewLocal); 
    566566 
  • tolp/trunk/tol/OIS/oiscreator.cpp

    r832 r847  
    567567    BCode&     cod  = code->Contens(); 
    568568    BOperator* opr  = cod.Operator(); 
    569 //  if(!opr) { return(Error("FATAL BOisCreator::Write NULL Code operator")); } 
     569    if(!opr) { return(Error("FATAL BOisCreator::Write NULL Code operator")); } 
    570570    if(opr && (opr->Mode()==BUSERFUNMODE)) 
    571571    { 
     
    691691  BCode& code = v->Contens(); 
    692692  BOperator* opr = code.Operator(); 
    693   assert(opr); 
     693  if(!opr) { return(Error("FATAL BOisCreator::Write NULL Code operator")); } 
    694694  char oprType = opr->Grammar()->Gid(); 
    695695  EWrite(oprType, object_);