aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/mds-kbdc.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-10 19:35:14 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-10 19:35:14 +0100
commit7ab6e14dc4a9c098a417588282eb19431d1abdb6 (patch)
tree77078700eeb837923b627f093272473d7ac5315f /src/mds-kbdc/mds-kbdc.c
parentworking on tree parsing (diff)
downloadmds-7ab6e14dc4a9c098a417588282eb19431d1abdb6.tar.gz
mds-7ab6e14dc4a9c098a417588282eb19431d1abdb6.tar.bz2
mds-7ab6e14dc4a9c098a417588282eb19431d1abdb6.tar.xz
mds-kbdc: handle end statement
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-kbdc/mds-kbdc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mds-kbdc/mds-kbdc.c b/src/mds-kbdc/mds-kbdc.c
index d0d3aa7..d7427d2 100644
--- a/src/mds-kbdc/mds-kbdc.c
+++ b/src/mds-kbdc/mds-kbdc.c
@@ -39,11 +39,12 @@
int main(int argc_, char** argv_)
{
mds_kbdc_parse_error_t** parse_errors;
+ mds_kbdc_tree_t* tree;
argc = argc_;
argv = argv_;
- fail_if (parse_to_tree(argv[1], NULL, &parse_errors) < 0);
+ fail_if (parse_to_tree(argv[1], &tree, &parse_errors) < 0);
if (parse_errors != NULL)
{
mds_kbdc_parse_error_t** errors = parse_errors;