Changeset a57303f in tol


Ignore:
Timestamp:
Mar 19, 2013, 4:58:55 PM (14 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
d58bdb2
Parents:
36c83cc
Message:

Refs #1659
Now PutName will be executed in a local scope to avoid strange secondary effects

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

File:
1 edited

Legend:

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

    r36c83cc ra57303f  
    10671067  static BText _name_ = "PutName";
    10681068  if(CheckNonDeclarativeAction(_name_)) { return(NULL); }
     1069  BGrammar::IncLevel();
    10691070    BSyntaxObject* result = NIL;
    10701071    BInt nb = BSpecialFunction::NumBranches(tre);
    … …  
    10991100        SAFE_DESTROY(namObj,obj);
    11001101    }
     1102  BGrammar::DecLevel();
    11011103    return(result);
    11021104}
Note: See TracChangeset for help on using the changeset viewer.