From 027031a505f9f0e5c8c5fafc94c4440667159e3c Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Thu, 8 Sep 2011 10:57:03 +0200 Subject: Moved the default parser into a namespace. This change is motivated by the need of having several parsers. This will make mppdown more extensible. --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 0f2a157..6477e0f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,7 +21,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include #include "elements.h" #include "generators/latex/document_g.h" -#include "parser/document_p.h" +#include "parsers/mdown2/document_p.h" namespace ka = boost::spirit::karma; namespace po = boost::program_options; @@ -71,7 +71,7 @@ int main(int argc, char** argv) { ifile.close(); - document_p parser; + mdown2::document_p parser; iiterator begin = input.begin(); iiterator end = input.end(); document_t ast; -- cgit v1.2.3-70-g09d2