diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-10 19:35:14 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-10 19:35:14 +0100 |
commit | 7ab6e14dc4a9c098a417588282eb19431d1abdb6 (patch) | |
tree | 77078700eeb837923b627f093272473d7ac5315f /src/mds-kbdc/mds-kbdc.c | |
parent | working on tree parsing (diff) | |
download | mds-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.c | 3 |
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; |