Commit 80f4da31 authored by Ghislain MARY's avatar Ghislain MARY

Add missing symbol exports.

parent 8aee5e54
......@@ -161,14 +161,14 @@ public:
/**
* Initialize an empty grammar, giving a name for debugging.
**/
Grammar(const string &name);
BELR_PUBLIC Grammar(const string &name);
virtual ~Grammar() { }
/**
* Include another grammar into this grammar.
**/
void include(const shared_ptr<Grammar>& grammar);
BELR_PUBLIC void include(const shared_ptr<Grammar>& grammar);
/**
* Add arule to the grammar.
* @param name the name of the rule
......
......@@ -226,7 +226,7 @@ public:
DebugElement(const string &rulename, const string &value);
static shared_ptr<DebugElement> create(const string &rulename, const string &value);
void addChild(const shared_ptr<DebugElement> &e);
ostream &tostream(int level, ostream &str)const;
BELR_PUBLIC ostream &tostream(int level, ostream &str)const;
private:
string mRulename;
string mValue;
......@@ -235,9 +235,9 @@ private:
class DebugParser : protected Parser<shared_ptr<DebugElement>>{
public:
DebugParser(const shared_ptr<Grammar> &grammar);
void setObservedRules(const list<string> &rules);
shared_ptr<DebugElement> parseInput(const string &rulename, const string &input, size_t *parsed_size);
BELR_PUBLIC DebugParser(const shared_ptr<Grammar> &grammar);
BELR_PUBLIC void setObservedRules(const list<string> &rules);
BELR_PUBLIC shared_ptr<DebugElement> parseInput(const string &rulename, const string &input, size_t *parsed_size);
};
......
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