summaryrefslogtreecommitdiff
path: root/src/parsers
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-08 14:58:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-08 14:58:33 +0300
commit6774a295aa3b2d3ceb63b503e694f0ffa9b806a5 (patch)
tree31c701e628397fd4a187db0aede42f029a49d656 /src/parsers
parent35ddc00e74c82d27ac6eaaceee2169fa252f215d (diff)
downloadparanucker-6774a295aa3b2d3ceb63b503e694f0ffa9b806a5.tar.gz
paranucker-6774a295aa3b2d3ceb63b503e694f0ffa9b806a5.tar.bz2
paranucker-6774a295aa3b2d3ceb63b503e694f0ffa9b806a5.tar.xz
paranucker-6774a295aa3b2d3ceb63b503e694f0ffa9b806a5.zip
Add parsing node NE_EXPR.
Diffstat (limited to 'src/parsers')
-rw-r--r--src/parsers/expr/ne_expr.cpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/parsers/expr/ne_expr.cpp b/src/parsers/expr/ne_expr.cpp
new file mode 100644
index 0000000..a0ba9ba
--- /dev/null
+++ b/src/parsers/expr/ne_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(NeExpr);
+
+#include "parsers/base/expr.h"
+
+#include "nodes/expr/ne_expr.h"
+
+namespace Generic
+{
+
+void parseNeExprNode(NeExprNode *node)
+{
+ fillType(node);
+ Log::log(node);
+
+ fillExprOperands(node);
+}
+
+}