Commit 6a0a84da authored by Ronan's avatar Ronan

clean include directives

parent 5cac0f07
......@@ -21,6 +21,8 @@
#include "belr.h"
// =============================================================================
namespace belr{
/**
......@@ -84,5 +86,5 @@ private:
};
}//end of namespace
}
#endif
......@@ -19,10 +19,12 @@
#ifndef _BELR_H_
#define _BELR_H_
#include <string>
#include <list>
#include <map>
#include <memory>
#include <string>
// =============================================================================
#ifdef _MSC_VER
#ifdef BELR_STATIC
......
......@@ -20,9 +20,8 @@
#define _GRAMMARBUILDER_H_
#include "parser.h"
#include <vector>
using namespace std;
// =============================================================================
namespace belr{
class ABNFAlternation;
......
......@@ -19,13 +19,14 @@
#ifndef _PARSER_H_
#define _PARSER_H_
#include <algorithm>
#include <functional>
#include <vector>
#include <iostream>
#include <algorithm>
#include <vector>
#include "belr.h"
// =============================================================================
namespace belr {
......
......@@ -19,8 +19,11 @@
#include "belr/abnf.h"
using namespace std;
using namespace belr;
// =============================================================================
/*
* CoreRules grammar
**/
......
......@@ -16,15 +16,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "belr/belr.h"
#include "belr/parser.h"
#include <algorithm>
#include <iostream>
#include "belr/belr.h"
using namespace std;
using namespace belr;
// =============================================================================
TransitionMap::TransitionMap(){
for(size_t i=0;i<sizeof(mPossibleChars)/sizeof(bool);++i)
......
......@@ -16,18 +16,19 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <fstream>
#include <bctoolbox/logging.h>
#include "belr/abnf.h"
#include "belr/grammarbuilder.h"
#include "belr/parser.h"
#include "bctoolbox/logging.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include "belr/grammarbuilder.h"
using namespace std;
// =============================================================================
namespace belr{
ABNFBuilder::~ABNFBuilder(){
......
......@@ -16,10 +16,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <belr/parser.h>
#include "belr/parser.h"
using namespace std;
// =============================================================================
namespace belr{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment