diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-03-01 19:17:32 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-03-01 19:17:32 +0000 |
commit | e38d2351b83fa65c66ccde443777647ef5cb6cff (patch) | |
tree | 1897fc20e9f73a81c520a5b9f76f8ed042124883 /src/translators/btparse/init.c | |
download | tellico-e38d2351b83fa65c66ccde443777647ef5cb6cff.tar.gz tellico-e38d2351b83fa65c66ccde443777647ef5cb6cff.zip |
Added KDE3 version of Tellico
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1097620 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/translators/btparse/init.c')
-rw-r--r-- | src/translators/btparse/init.c | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/translators/btparse/init.c b/src/translators/btparse/init.c new file mode 100644 index 0000000..4a1ec06 --- /dev/null +++ b/src/translators/btparse/init.c @@ -0,0 +1,42 @@ +/* ------------------------------------------------------------------------ +@NAME : init.c +@DESCRIPTION: Initialization and cleanup functions for the btparse library. +@GLOBALS : +@CALLS : +@CREATED : 1997/01/19, Greg Ward +@MODIFIED : +@VERSION : $Id: init.c,v 1.8 1999/11/29 01:13:10 greg Rel $ +@COPYRIGHT : Copyright (c) 1996-99 by Gregory P. Ward. All rights reserved. + + This file is part of the btparse library. This library is + free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. +-------------------------------------------------------------------------- */ + +/*#include "bt_config.h"*/ +#include "stdpccts.h" /* for zzfree_ast() prototype */ +#include "parse_auxiliary.h" /* for fix_token_names() proto */ +#include "prototypes.h" /* for other prototypes */ +/*#include "my_dmalloc.h"*/ + +void bt_initialize (void) +{ + /* Initialize data structures */ + + fix_token_names (); + init_macros (); +} + + +void bt_free_ast (AST *ast) +{ + zzfree_ast (ast); +} + + +void bt_cleanup (void) +{ + done_macros (); +} |