Changeset 4406

Show
Ignore:
Timestamp:
03/19/12 14:59:06 (7 years ago)
Author:
vdebuen
Message:

Fixes #1487
In method BNameBlock::add_using_symbol, member name is iter->first, while name refers to NameBlock owner

Files:
1 modified

Legend:

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

    r4405 r4406  
    10251025    if(!usingAlsoPrivate  && ((iter->first)[1]!='.')) { return(true); } 
    10261026  } 
    1027   if(!usingAlsoSpecial && isSpecial(name)) { return(true); } 
     1027  if(!usingAlsoSpecial && isSpecial(iter->first)) { return(true); } 
    10281028  bool ok = true; 
    10291029  BObjByNameHash::const_iterator found ;