Changeset f942d8f in tol


Ignore:
Timestamp:
Mar 30, 2011, 4:39:46 PM (16 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
12ffa64
Parents:
bc0975f
Message:

IsInstanceOf must return false if the NameBlock is not an instance

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

File:
1 edited

Legend:

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

    rbc0975f rf942d8f  
    272272//--------------------------------------------------------------------
    273273{
     274  if(!class_) { return(false); }
    274275  return(class_->InheritesFrom(cls));
    275276}
    … …  
    279280//--------------------------------------------------------------------
    280281{
     282  if(!class_) { return(false); }
    281283  return(class_->InheritesFrom(name));
    282284}
Note: See TracChangeset for help on using the changeset viewer.