Changeset 50c4377 in tol


Ignore:
Timestamp:
Jan 16, 2012, 12:30:18 PM (15 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
f50c5f3
Parents:
35458ba
Message:

Fixes #1394

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

Location:
tol
Files:
2 edited

Legend:

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

    r35458ba r50c4377  
    20452045  BSyntaxObject* result = NIL;
    20462046  BInt nb = BSpecialFunction::NumBranches(tre);
     2047  List* branch = Branch(tre,1);
     2048  BToken* arg = BParser::treToken(branch);
     2049  const BText& globalName = arg->Name();
    20472050  BText errMsg;
    20482051  if(gra==GraAnything())
    20492052  {
    2050     errMsg = I2("Cannot apply monary global find operator ::<global_variable> "
    2051     "to type Anything",
    2052     "No se puede aplicar el operador de búsqueda global ::<variable_global> "
    2053     "al tipo Anything");
     2053    result = gra->FindOperand(globalName, false);
     2054    if(!result) { result = gra->FindOperator(globalName); }
    20542055  }
    20552056  else if(BSpecialFunction::TestNumArg(_name_, 1, nb, 1))
    20562057  {
    2057     List* branch = Branch(tre,1);
    2058     BToken* arg = BParser::treToken(branch);
    2059     const BText& globalName = arg->Name();
    20602058    BObjClassify oc(gra,BOBJECTMODE);
    20612059    result = BGrammar::SymbolTable().Search(oc, globalName);
  • tol/tol_version_def.h

    r35458ba r50c4377  
    2525#define VERSION_MINOR   0
    2626#define VERSION_RELEASE 2
    27 #define VERSION_BUILD   "0.21.alpha"
     27#define VERSION_BUILD   "0.22.alpha"
    2828
    2929#if defined(_MSC_VER)
Note: See TracChangeset for help on using the changeset viewer.