Places class Driver under the Parser namespace

This commit is contained in:
Felipe Zimmerle
2015-07-23 01:31:37 -03:00
parent 9c2158958e
commit b5ca607e76
6 changed files with 35 additions and 9 deletions

View File

@@ -36,10 +36,12 @@ using ModSecurity::Rules;
# define YY_DECL \
yy::seclang_parser::symbol_type yylex(Driver& driver)
yy::seclang_parser::symbol_type yylex(ModSecurity::Parser::Driver& driver)
YY_DECL;
namespace ModSecurity {
namespace Parser {
#ifdef __cplusplus
class Driver;
@@ -89,4 +91,7 @@ class Driver : public Rules {
};
} // namespace Parser
} // namespace ModSecurity
#endif // SRC_PARSER_DRIVER_H_