Write namespace closing scope } // NAME
| 3182 | |
| 3183 | /// Write namespace closing scope } // NAME |
| 3184 | void Reflex::write_namespace_close() |
| 3185 | { |
| 3186 | const std::string& s = options["namespace"]; |
| 3187 | size_t i = 0, j; |
| 3188 | while ((j = s.find("::", i)) != std::string::npos) |
| 3189 | { |
| 3190 | *out << "} // namespace " << s.substr(i, j-i) << '\n'; |
| 3191 | i = j + 2; |
| 3192 | } |
| 3193 | *out << "} // namespace " << s.substr(i) << '\n'; |
| 3194 | } |
| 3195 | |
| 3196 | /// Write namespace scope NAME :: |
| 3197 | void Reflex::write_namespace_scope() |