diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-04 17:30:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-04 17:30:34 +0300 |
commit | 766dda019417072fb10df9b154c74059cd200c43 (patch) | |
tree | 4e62e9b61d2ed97cbee187366be6b80559901dfd /src/parsers/parserincludes.h | |
parent | 354a74d6d3e99eeb0bcec42172cf139d7fa32f4d (diff) | |
download | paranucker-766dda019417072fb10df9b154c74059cd200c43.tar.gz paranucker-766dda019417072fb10df9b154c74059cd200c43.tar.bz2 paranucker-766dda019417072fb10df9b154c74059cd200c43.tar.xz paranucker-766dda019417072fb10df9b154c74059cd200c43.zip |
Simplify parsers. Remove header files for parsers.
Diffstat (limited to 'src/parsers/parserincludes.h')
-rw-r--r-- | src/parsers/parserincludes.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/parsers/parserincludes.h b/src/parsers/parserincludes.h new file mode 100644 index 0000000..ecc46a8 --- /dev/null +++ b/src/parsers/parserincludes.h @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2015 Andrei Karas + * + * This file is part of AstDumper. + * + * This program 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 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef PARSERS_PARSERINCLUDES_H +#define PARSERS_PARSERINCLUDES_H + +#include "includes.h" +#include "logger.h" + +#include "parsers/generic.h" + +#include <string> + +#include "localconsts.h" + +#define parserDefine(type) \ + struct type##Node; \ + namespace Generic \ + { \ + void parse##type##Node(type##Node *parent); \ + } + +#endif // PARSERS_PARSERINCLUDES_H |