diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-08 14:45:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-08 14:45:57 +0300 |
commit | 605578e53c24be4356f6238b17e9deb3d209cc18 (patch) | |
tree | 659a4e733e040c702619f4160361bc6cd02de89b /src/parsers/expr/addr_expr.cpp | |
parent | bedeee5c9575e61b549bfcf70db7bdaa7ba7cf91 (diff) | |
download | paranucker-605578e53c24be4356f6238b17e9deb3d209cc18.tar.gz paranucker-605578e53c24be4356f6238b17e9deb3d209cc18.tar.bz2 paranucker-605578e53c24be4356f6238b17e9deb3d209cc18.tar.xz paranucker-605578e53c24be4356f6238b17e9deb3d209cc18.zip |
Add parsing node ADDR_EXPR.
Diffstat (limited to 'src/parsers/expr/addr_expr.cpp')
-rw-r--r-- | src/parsers/expr/addr_expr.cpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/parsers/expr/addr_expr.cpp b/src/parsers/expr/addr_expr.cpp new file mode 100644 index 0000000..c2028b0 --- /dev/null +++ b/src/parsers/expr/addr_expr.cpp @@ -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/>. + */ + +#include "includes/parserincludes.h" + +parserDefine(AddrExpr); + +#include "parsers/base/expr.h" + +#include "nodes/expr/addr_expr.h" + +namespace Generic +{ + +void parseAddrExprNode(AddrExprNode *node) +{ + fillType(node); + Log::log(node); + + fillExprOperands(node); +} + +} |