diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-12 19:23:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-12 19:23:19 +0300 |
commit | 97572baf32bde191c9846c758c8b76b7f0802eed (patch) | |
tree | bdeacb58fb8c3a2bbfad96ecb299273a67b1886a /src/parsers/expr/nonlvalue_expr.cpp | |
parent | 7224c8a10dc22974076ade012bbb3484f5a0d080 (diff) | |
download | paranucker-97572baf32bde191c9846c758c8b76b7f0802eed.tar.gz paranucker-97572baf32bde191c9846c758c8b76b7f0802eed.tar.bz2 paranucker-97572baf32bde191c9846c758c8b76b7f0802eed.tar.xz paranucker-97572baf32bde191c9846c758c8b76b7f0802eed.zip |
Add parsing type NON_LVALUE_EXPR.
Diffstat (limited to 'src/parsers/expr/nonlvalue_expr.cpp')
-rw-r--r-- | src/parsers/expr/nonlvalue_expr.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/parsers/expr/nonlvalue_expr.cpp b/src/parsers/expr/nonlvalue_expr.cpp new file mode 100644 index 0000000..2862662 --- /dev/null +++ b/src/parsers/expr/nonlvalue_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(NonLvalueExpr); + +#include "parsers/base/expr.h" + +#include "nodes/expr/nonlvalue_expr.h" + +namespace Generic +{ + +void parseNonLvalueExprNode(NonLvalueExprNode *node) +{ + fillType(node); + fillExprLocation(node); + Log::dump(node); + + fillExprOperands(node); +} + +} |