summaryrefslogtreecommitdiff
path: root/src/includes.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-03 00:12:02 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-03 00:12:02 +0300
commit14379df64eefacbfcc807fb5216470071adefdc2 (patch)
tree9ff0b4d6405170e524b63bd80d8e5f715bee6fee /src/includes.h
parent49dbfa00f155632dc04ffe71320232799a712dfb (diff)
downloadparanucker-14379df64eefacbfcc807fb5216470071adefdc2.tar.gz
paranucker-14379df64eefacbfcc807fb5216470071adefdc2.tar.bz2
paranucker-14379df64eefacbfcc807fb5216470071adefdc2.tar.xz
paranucker-14379df64eefacbfcc807fb5216470071adefdc2.zip
Extend a bit basic node parsing.
Fix warning in gcc plugin includes.
Diffstat (limited to 'src/includes.h')
-rw-r--r--src/includes.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/includes.h b/src/includes.h
new file mode 100644
index 0000000..9ecec71
--- /dev/null
+++ b/src/includes.h
@@ -0,0 +1,43 @@
+/*
+ * 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/>.
+ */
+
+#ifndef PLUGIN_H
+#define PLUGIN_H
+
+#ifdef PACKAGE_BUGREPORT
+#undef PACKAGE_BUGREPORT
+#endif
+#ifdef PACKAGE_NAME
+#undef PACKAGE_NAME
+#endif
+#ifdef PACKAGE_STRING
+#undef PACKAGE_STRING
+#endif
+#ifdef PACKAGE_TARNAME
+#undef PACKAGE_TARNAME
+#endif
+#ifdef PACKAGE_VERSION
+#undef PACKAGE_VERSION
+#endif
+
+#include "gcc-plugin.h"
+#include "print-tree.h"
+#include "tree.h"
+
+#endif // PLUGIN_H