Changeset 5c9c2d7 in tol


Ignore:
Timestamp:
Nov 17, 2008, 3:55:50 PM (18 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
06b6869
Parents:
76b9712
Message:

Using BGraContensP containing ANY* contens_ instead of ANY contens_ in order to use BFSMEM to create the BNameBlock allowing check if it has been deleted

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

File:
1 edited

Legend:

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

    r76b9712 r5c9c2d7  
    139139    return(NULL);
    140140  }
     141 
    141142  const BNameBlock* oldNameBlock = BNameBlock::current_;
    142   BUserNameBlock* ns_result = new BContensNameBlock;
     143  BUserNameBlock* ns_result = new BGraContensP<BNameBlock>(new BNameBlock);
    143144  BNameBlock& newNameBlock  = ns_result->Contens();
    144145  newNameBlock.PutName(fullName);
Note: See TracChangeset for help on using the changeset viewer.