| 294 | } |
| 295 | |
| 296 | void OnEnterScope(size_t /* offset */) { |
| 297 | if (ScopeDeclaration) { |
| 298 | // unnamed declaration or typedef |
| 299 | ScopeDeclaration = false; |
| 300 | } |
| 301 | InCompositeNamespace = false; |
| 302 | Scope.push_back(LastScope); |
| 303 | LastScope.clear(); |
| 304 | //PrintScope(); |
| 305 | } |
| 306 | |
| 307 | /// @param offset: terminating curly brace position |
| 308 | void OnLeaveScope(size_t offset) { |