Changeset d815369 in tol


Ignore:
Timestamp:
Jan 30, 2009, 5:25:49 PM (18 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
bbf0235
Parents:
04b3f5b
Message:

Skypping type checking hen asked type is Anything

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/real_type/datgrav.cpp

    r04b3f5b rd815369  
    813813      if(oldEnabled) { BOut::Enable(); }
    814814    }
    815     if(result && (result->Grammar()!=gra)) { result=NULL; }
     815    if(result && (gra!=GraAnything()) && (result->Grammar()!=gra)) { result=NULL; }
    816816  }
    817817  contens_ = result!=NULL; 
    … …  
    858858        BUserCode* uCode = (BUserCode*)result;
    859859        BOperator* opr = GetOperator(uCode);
    860         if(!opr || (gra!=opr->Grammar()))
     860        if(!opr || ((gra!=GraAnything()) && (gra!=opr->Grammar())))
    861861        {
    862862          result = NULL;
Note: See TracChangeset for help on using the changeset viewer.