diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-12 15:51:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-12 15:51:14 +0300 |
commit | 935220297043e59853d54697bdf51c96ac1d1812 (patch) | |
tree | 1b6cd31d96cc74bbb8295f37d2656ebbd3ceb031 /src/parsers | |
parent | 1034d423476ef1a9df030a3b83304157c6d83075 (diff) | |
download | paranucker-935220297043e59853d54697bdf51c96ac1d1812.tar.gz paranucker-935220297043e59853d54697bdf51c96ac1d1812.tar.bz2 paranucker-935220297043e59853d54697bdf51c96ac1d1812.tar.xz paranucker-935220297043e59853d54697bdf51c96ac1d1812.zip |
Add parsing node EH_SPEC_BLOCK.
Diffstat (limited to 'src/parsers')
-rw-r--r-- | src/parsers/block/ehspec_block.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/parsers/block/ehspec_block.cpp b/src/parsers/block/ehspec_block.cpp new file mode 100644 index 0000000..a4be861 --- /dev/null +++ b/src/parsers/block/ehspec_block.cpp @@ -0,0 +1,40 @@ +/* + * 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/>. + */ + +#include "includes/parserincludes.h" + +parserDefine(EhSpecBlock); + +#include "parsers/base/expr.h" + +#include "nodes/block/ehspec_block.h" + +namespace Generic +{ + +void parseEhSpecBlockNode(EhSpecBlockNode *node) +{ + fillType(node); + fillExprLocation(node); + Log::dump(node); + + fillExprOperands(node); +} + +} |