summaryrefslogtreecommitdiff
path: root/src/parsers
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-12 20:58:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-12 20:58:24 +0300
commit7c0d125b62d056961e4ba45cce15af3acc2c9bd8 (patch)
tree38fb08c74d375d42b76bffc28e524bbfe98124be /src/parsers
parentc14b7311f720bbe994cb9ea3f7fab2d77beba650 (diff)
downloadparanucker-7c0d125b62d056961e4ba45cce15af3acc2c9bd8.tar.gz
paranucker-7c0d125b62d056961e4ba45cce15af3acc2c9bd8.tar.bz2
paranucker-7c0d125b62d056961e4ba45cce15af3acc2c9bd8.tar.xz
paranucker-7c0d125b62d056961e4ba45cce15af3acc2c9bd8.zip
Add parsing SAVE_EXPR.
Diffstat (limited to 'src/parsers')
-rw-r--r--src/parsers/expr/save_expr.cpp40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/parsers/expr/save_expr.cpp b/src/parsers/expr/save_expr.cpp
new file mode 100644
index 0000000..581062c
--- /dev/null
+++ b/src/parsers/expr/save_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(SaveExpr);
+
+#include "parsers/base/expr.h"
+
+#include "nodes/expr/save_expr.h"
+
+namespace Generic
+{
+
+void parseSaveExprNode(SaveExprNode *node)
+{
+ fillType(node);
+ fillExprLocation(node);
+ Log::dump(node);
+
+ fillExprOperands(node);
+}
+
+}