~ubuntu-branches/ubuntu/utopic/aspectc++/utopic

« back to all changes in this revision

Viewing changes to Puma/src/parser/ccparser/CCSemantic.cc

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-05-30 10:01:33 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20120530100133-rnwnvxsb3xfsvu2w
Tags: 1:1.1+svn20120529-1
* New upstream snapshot.
  - Fixes with fcntl handling on kFreeBSD
  - Upstream fixes in the Puma Parser

Show diffs side-by-side

added added

removed removed

Lines of Context:
1027
1027
    nl.lookupFunction (csd.Name (), lookup_scope);
1028
1028
    if (! nl.Objects ()) {
1029
1029
      // lookup in non-template scope
1030
 
      nl.lookupFunction (csd.Name (), getFriendScope (true));
 
1030
      scope = lookup_scope = getFriendScope (true);
 
1031
      nl.lookupFunction (csd.Name (), lookup_scope);
1031
1032
    }
1032
1033
  }
1033
1034
 
2187
2188
    nl.lookupFunction (csd.Name (), lookup_scope);
2188
2189
    if (! nl.Objects ()) {
2189
2190
      // lookup in non-template scope
2190
 
      nl.lookupFunction (csd.Name (), getFriendScope (true));
 
2191
      scope = lookup_scope = getFriendScope (true);
 
2192
      nl.lookupFunction (csd.Name (), lookup_scope);
2191
2193
    }
2192
2194
  }
2193
2195