Changeset 3005000 in tol


Ignore:
Timestamp:
Sep 11, 2009, 2:48:13 PM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
f9e23b2
Parents:
a4b4fb8
Message:

Removing unneeded condition tt->type_==BTypeToken::BCLASS

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

File:
1 edited

Legend:

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

    ra4b4fb8 r3005000  
    15941594    List* branch1 = Branch(tre,1);
    15951595    List* branch2 = Branch(tre,2);
     1596    if(BParser::Unparse(tre, "  ")=="Point ::New(_this, x0)")
     1597      printf("");
     1598     
    15961599/* * /
    15971600    BText ups = BParser::Unparse(tre, "  ");
    … …  
    16191622        {
    16201623          BTypeToken* tt = (BTypeToken*)arg1;
    1621           if(tt->type_==BTypeToken::BCLASS)
    1622           {
    1623             uns = FindClass(tt->Name(),1);
    1624           }
     1624          uns = FindClass(tt->Name(),1);
    16251625        }
    16261626      }
    … …  
    16711671    assert(!result);
    16721672    Error(I2("Evaluating expression ",
    1673              "Evaluando la expresión ")+BParser::Unparse(tre)+"\n"+errMsg);
     1673             "Evaluando la expresión ")+"'"+
     1674             BParser::Unparse(tre)+"'\n"+errMsg);
    16741675  }
    16751676  result=TestResult(_name_,result,tre,NIL,BTRUE);
Note: See TracChangeset for help on using the changeset viewer.