Changeset 76b1443f in tol


Ignore:
Timestamp:
Mar 24, 2011, 3:36:07 PM (16 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
fc82ee3
Parents:
814548d
Message:

In InheritesFrom a class inherites from itself

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

File:
1 edited

Legend:

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

    r814548d r76b1443f  
    272272//--------------------------------------------------------------------
    273273{
    274   if(!class_) { return(false); }
    275   if(cls == class_)  { return(true); }
    276274  return(class_->InheritesFrom(cls));
    277275}
    … …  
    281279//--------------------------------------------------------------------
    282280{
    283   if(!class_) { return(false); }
    284 //if(name == class_->FullName())  { return(true); }
    285   if(name == class_->FullName())  { return(true); }
    286281  return(class_->InheritesFrom(name));
    287282}
    … …  
    791786      if(class_)
    792787      {
    793         autodoc = class_->FindStaticMemeber(autodocName,-1);
     788        autodoc = class_->FindStaticMember(autodocName,-1);
    794789      }
    795790      else
Note: See TracChangeset for help on using the changeset viewer.