diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-13 16:05:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-13 16:05:32 +0300 |
commit | edbbaa958d4bcb8280482175562b787fe18d6276 (patch) | |
tree | 6f58132958d5f331e3d65913869eb8957adf84d7 /src/parsers | |
parent | 3c1af429f1c06efaad97a37ae4476e9a7aa44129 (diff) | |
download | paranucker-edbbaa958d4bcb8280482175562b787fe18d6276.tar.gz paranucker-edbbaa958d4bcb8280482175562b787fe18d6276.tar.bz2 paranucker-edbbaa958d4bcb8280482175562b787fe18d6276.tar.xz paranucker-edbbaa958d4bcb8280482175562b787fe18d6276.zip |
Add parsing node FLOOR_DIV_EXPR.
Diffstat (limited to 'src/parsers')
-rw-r--r-- | src/parsers/expr/floordiv_expr.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/parsers/expr/floordiv_expr.cpp b/src/parsers/expr/floordiv_expr.cpp new file mode 100644 index 0000000..af508c8 --- /dev/null +++ b/src/parsers/expr/floordiv_expr.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(FloorDivExpr); + +#include "parsers/base/expr.h" + +#include "nodes/expr/floordiv_expr.h" + +namespace Generic +{ + +void parseFloorDivExprNode(FloorDivExprNode *node) +{ + fillType(node); + fillExprLocation(node); + Log::dump(node); + + fillExprOperands(node); +} + +} |