summaryrefslogtreecommitdiffstats
path: root/src/progs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-17 06:38:33 +0000
committerDavid Robillard <d@drobilla.net>2008-08-17 06:38:33 +0000
commit03acefb8271d2abb5160b349d8e70687af6965fb (patch)
treee377017141707b2a97eeda4adffcfbb56eec88bc /src/progs
parent696535322342c56901d4d48641b6f9cf816ac1e1 (diff)
downloadingen-03acefb8271d2abb5160b349d8e70687af6965fb.tar.gz
ingen-03acefb8271d2abb5160b349d8e70687af6965fb.tar.bz2
ingen-03acefb8271d2abb5160b349d8e70687af6965fb.zip
Clean up parser into generic form that can parse anything (rather than just the root patch from a document).
Support for parsing from a string. Fix serialisation to a string. git-svn-id: http://svn.drobilla.net/lad/ingen@1414 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/ingen/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/ingen/main.cpp b/src/progs/ingen/main.cpp
index 657e942d..bf01686a 100644
--- a/src/progs/ingen/main.cpp
+++ b/src/progs/ingen/main.cpp
@@ -184,7 +184,7 @@ main(int argc, char** argv)
engine_interface->load_plugins();
- parser->parse(world, engine_interface.get(), uri, parent_path, "");
+ parser->parse_document(world, engine_interface.get(), uri, uri, parent_path);
} else {
cerr << "Unable to load serialisation module, aborting." << endl;