summaryrefslogtreecommitdiff
path: root/src/parsers/expr
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-08 14:57:09 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-08 14:58:24 +0300
commit35ddc00e74c82d27ac6eaaceee2169fa252f215d (patch)
treed623d81e7e3d020c4f4b7e0348fc571e658b96a6 /src/parsers/expr
parenta79c4d90d2aabe664b25f001d80c5239bd2227fb (diff)
downloadparanucker-35ddc00e74c82d27ac6eaaceee2169fa252f215d.tar.gz
paranucker-35ddc00e74c82d27ac6eaaceee2169fa252f215d.tar.bz2
paranucker-35ddc00e74c82d27ac6eaaceee2169fa252f215d.tar.xz
paranucker-35ddc00e74c82d27ac6eaaceee2169fa252f215d.zip
Add parsing node GE_EXPR.
Diffstat (limited to 'src/parsers/expr')
-rw-r--r--src/parsers/expr/ge_expr.cpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/parsers/expr/ge_expr.cpp b/src/parsers/expr/ge_expr.cpp
new file mode 100644
index 0000000..d0b82d7
--- /dev/null
+++ b/src/parsers/expr/ge_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(GeExpr);
+
+#include "parsers/base/expr.h"
+
+#include "nodes/expr/ge_expr.h"
+
+namespace Generic
+{
+
+void parseGeExprNode(GeExprNode *node)
+{
+ fillType(node);
+ Log::log(node);
+
+ fillExprOperands(node);
+}
+
+}