Commit ed811c15 authored by Ronan's avatar Ronan

fix compilation build (belr refactoring)

parent 31378b48
......@@ -19,16 +19,15 @@
#ifndef BELLE_MSRP_PARSER_HPP
#define BELLE_MSRP_PARSER_HPP
#include "belle-msrp.hpp"
#include <belr/grammarbuilder.h>
#include <belr/grammarbuilder.hh>
#include <belr/abnf.hh>
#include "belle-msrp.hpp"
namespace bellemsrp {
class Parser {
private:
belr::ABNFGrammarBuilder _grammar_builder;
shared_ptr<belr::Grammar> _grammar;
std::shared_ptr<belr::Grammar> _grammar;
bellemsrp::Element* _parse(const std::string &input, const std::string &rule);
......
......@@ -16,16 +16,18 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "belle-msrp/belle-msrp_parser.hpp"
#include "belle-msrp/belle-msrp.hpp"
#include "belle-msrp/msrp_grammar.hpp"
#include <belr/parser-impl.cc>
#include <belr/abnf.h>
#include <cstring>
#include <cstdlib>
#include <cassert>
#include "belle-msrp/belle-msrp_parser.hpp"
#include "belle-msrp/belle-msrp.hpp"
#include "belle-msrp/msrp_grammar.hpp"
using namespace std;
namespace bellemsrp {
Parser::Parser() {
......
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