diff --git a/include/xo/parser/parser.hpp b/include/xo/parser/parser.hpp index 193d1cc5..bbb0a584 100644 --- a/include/xo/parser/parser.hpp +++ b/include/xo/parser/parser.hpp @@ -114,7 +114,7 @@ namespace xo { invalid = -1, keep, - emit, + //emit, //pop, n_expractiontype @@ -140,9 +140,8 @@ namespace xo { {} static expraction keep(); - static expraction emit(const exprir & ir); #ifdef OBSOLETE - static expraction pop(); + static expraction emit(const exprir & ir); #endif expractiontype action_type() const { return action_type_; } diff --git a/src/parser/parser.cpp b/src/parser/parser.cpp index 4a0f37f5..3a0eaaf9 100644 --- a/src/parser/parser.cpp +++ b/src/parser/parser.cpp @@ -87,10 +87,6 @@ namespace xo { return "?invalid"; case expractiontype::keep: return "keep"; - case expractiontype::emit: - return "emit"; - //case expractiontype::pop: - //return "pop"; case expractiontype::n_expractiontype: break; } @@ -104,26 +100,12 @@ namespace xo { exprir()); } +#ifdef OBSOLETE expraction expraction::emit(const exprir & ir) { return expraction(expractiontype::emit, ir); } - -#ifdef OBSOLETE - expraction - expraction::pop(const exprir & ir) { - return expraction(expractiontype::pop, - ir); - } -#endif - -#ifdef OBSOLETE - expraction - expraction::pop() { - return expraction(expractiontype::pop, - exprir()); - } #endif void