diff options
| author | Grégoire Duchêne <gduchene@fastmail.net> | 2011-09-08 10:57:03 +0200 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@fastmail.net> | 2011-09-08 11:13:13 +0200 |
| commit | 027031a505f9f0e5c8c5fafc94c4440667159e3c (patch) | |
| tree | 957e52d351b4007f056eb3c03727667604bdd3f6 /src/main.cpp | |
| parent | 8487056e8119daeaac17f89125942850f6206e24 (diff) | |
Moved the default parser into a namespace.
This change is motivated by the need of having several parsers. This
will make mppdown more extensible.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <string> #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; |
