adjust define guard namings

This commit is contained in:
Pedro Flemming 2017-04-06 18:27:47 +02:00
parent 7bce903eb8
commit de48a0bafd
15 changed files with 33 additions and 33 deletions

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSER_H_
#define __SQLPARSER_H_
#ifndef __SQLPARSER__SQLPARSER_H__
#define __SQLPARSER__SQLPARSER_H__
#include "SQLParserResult.h"
#include "sql/statements.h"

View File

@ -1,5 +1,5 @@
#ifndef __SQLPARSERRESULT__
#define __SQLPARSERRESULT__
#ifndef __SQLPARSER__SQLPARSER_RESULT_H__
#define __SQLPARSER__SQLPARSER_RESULT_H__
#include "sql/SQLStatement.h"
@ -70,4 +70,4 @@ namespace hsql {
} // namespace hsql
#endif // __SQLPARSERRESULT__
#endif // __SQLPARSER__SQLPARSER_RESULT_H__

View File

@ -1,5 +1,5 @@
#ifndef __CREATE_STATEMENT_H__
#define __CREATE_STATEMENT_H__
#ifndef __SQLPARSER__CREATE_STATEMENT_H__
#define __SQLPARSER__CREATE_STATEMENT_H__
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __DELETE_STATEMENT_H__
#define __DELETE_STATEMENT_H__
#ifndef __SQLPARSER__DELETE_STATEMENT_H__
#define __SQLPARSER__DELETE_STATEMENT_H__
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __DROP_STATEMENT_H__
#define __DROP_STATEMENT_H__
#ifndef __SQLPARSER__DROP_STATEMENT_H__
#define __SQLPARSER__DROP_STATEMENT_H__
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __EXECUTE_STATEMENT_H__
#define __EXECUTE_STATEMENT_H__
#ifndef __SQLPARSER__EXECUTE_STATEMENT_H__
#define __SQLPARSER__EXECUTE_STATEMENT_H__
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __EXPRESSION_H__
#define __EXPRESSION_H__
#ifndef __SQLPARSER__EXPR_H__
#define __SQLPARSER__EXPR_H__
#include <stdlib.h>
#include <memory>

View File

@ -1,5 +1,5 @@
#ifndef __IMPORT_STATEMENT_H__
#define __IMPORT_STATEMENT_H__
#ifndef __SQLPARSER__IMPORT_STATEMENT_H__
#define __SQLPARSER__IMPORT_STATEMENT_H__
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __INSERT_STATEMENT_H__
#define __INSERT_STATEMENT_H__
#ifndef __SQLPARSER__INSERT_STATEMENT_H__
#define __SQLPARSER__INSERT_STATEMENT_H__
#include "SQLStatement.h"
#include "SelectStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __PREPARE_STATEMENT_H__
#define __PREPARE_STATEMENT_H__
#ifndef __SQLPARSER__PREPARE_STATEMENT_H__
#define __SQLPARSER__PREPARE_STATEMENT_H__
#include "../SQLParserResult.h"
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __SQLSTATEMENT_H__
#define __SQLSTATEMENT_H__
#ifndef __SQLPARSER__SQLSTATEMENT_H__
#define __SQLPARSER__SQLSTATEMENT_H__
#include "Expr.h"
#include <vector>
@ -36,4 +36,4 @@ namespace hsql {
};
} // namespace hsql
#endif // __SQLSTATEMENT_H__
#endif // __SQLPARSER__SQLSTATEMENT_H__

View File

@ -1,5 +1,5 @@
#ifndef __SELECT_STATEMENT_H__
#define __SELECT_STATEMENT_H__
#ifndef __SQLPARSER__SELECT_STATEMENT_H__
#define __SQLPARSER__SELECT_STATEMENT_H__
#include "SQLStatement.h"
#include "Expr.h"

View File

@ -1,5 +1,5 @@
#ifndef __TABLEREF_H__
#define __TABLEREF_H__
#ifndef __SQLPARSER__TABLEREF_H__
#define __SQLPARSER__TABLEREF_H__
#include "Expr.h"
#include <stdio.h>

View File

@ -1,5 +1,5 @@
#ifndef __UPDATE_STATEMENT_H__
#define __UPDATE_STATEMENT_H__
#ifndef __SQLPARSER__UPDATE_STATEMENT_H__
#define __SQLPARSER__UPDATE_STATEMENT_H__
#include "SQLStatement.h"

View File

@ -1,5 +1,5 @@
#ifndef __STATEMENTS_H__
#define __STATEMENTS_H__
#ifndef __SQLPARSER__STATEMENTS_H__
#define __SQLPARSER__STATEMENTS_H__
#include "SelectStatement.h"
#include "ImportStatement.h"
@ -11,4 +11,4 @@
#include "PrepareStatement.h"
#include "ExecuteStatement.h"
#endif // __STATEMENTS_H__
#endif // __SQLPARSER__STATEMENTS_H__