diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-06 23:42:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-06 23:42:52 +0300 |
commit | 7669b85688ca5240b65adff8127c1c28a4c93053 (patch) | |
tree | 28aa6c4dadad983e0d7dc794af019e6a60e4d51a /src/parsers/expr | |
parent | 99fa4be928bbe27c230f4ace452b85d0c91e3312 (diff) | |
download | paranucker-7669b85688ca5240b65adff8127c1c28a4c93053.tar.gz paranucker-7669b85688ca5240b65adff8127c1c28a4c93053.tar.bz2 paranucker-7669b85688ca5240b65adff8127c1c28a4c93053.tar.xz paranucker-7669b85688ca5240b65adff8127c1c28a4c93053.zip |
Add parsing node type DECL_EXPR.
Diffstat (limited to 'src/parsers/expr')
-rw-r--r-- | src/parsers/expr/decl_expr.cpp | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/parsers/expr/decl_expr.cpp b/src/parsers/expr/decl_expr.cpp new file mode 100644 index 0000000..78b4bbf --- /dev/null +++ b/src/parsers/expr/decl_expr.cpp @@ -0,0 +1,41 @@ +/* + * 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(DeclExpr); + +#include "parsers/base/expr.h" + +#include "nodes/expr/decl_expr.h" + +namespace Generic +{ + +void parseDeclExprNode(DeclExprNode *node) +{ + fillType(node); + Log::log(node); + + fillExprOperands(node); + + // args 0 - DECL_EXPR_DECL +} + +} |