Changeset a8b5f73 in tol


Ignore:
Timestamp:
Nov 12, 2009, 2:39:05 PM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
59dc492
Parents:
4ddca89
Message:

Fixed #780

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@1686 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/bgrammar/graacc.cpp

    r4ddca89 ra8b5f73  
    533533  bool isGraCode = (this==GraCode());
    534534/* */
     535  if(!found)
     536  {
     537    found = BNameBlock::LocalMember(name);
     538    found = getOperand(this, found);
     539  }
     540  if(!found)
     541  {
     542    found = FindLocal(name);
     543    found = getOperand(this, found);
     544  }
    535545  const BClass* cls = BClass::currentClassBuildingInstance_;
    536546  if(cls && (this==GraCode())) 
    … …  
    553563      found = met;
    554564    }
    555   }
    556 /* */
    557   if(!found)
    558   {
    559     found = BNameBlock::LocalMember(name);
    560     found = getOperand(this, found);
    561   }
    562   if(!found)
    563   {
    564     found = FindLocal(name);
    565     found = getOperand(this, found);
    566565  }
    567566  if(!found)
    … …  
    676675  BSyntaxObject* met = NULL;
    677676/* */
     677  if(!found)
     678  {
     679    found = getOperator(this, BNameBlock::LocalMember(name));
     680  }
    678681  const BClass* cls = BClass::currentClassBuildingInstance_;
     682  if(!found)
     683  {
     684    found = getOperator(this, FindLocal(name));
     685  }
    679686  if(!found && cls) 
    680687  {
    … …  
    697704    }
    698705  }
    699 /* */
    700   if(!found)
    701   {
    702     found = getOperator(this, BNameBlock::LocalMember(name));
    703   }
    704   if(!found)
    705   {
    706     found = getOperator(this, FindLocal(name));
    707   }
    708706  BGrammar* g;
    709707  BObjByClassHash* obch=NULL;
Note: See TracChangeset for help on using the changeset viewer.