summaryrefslogtreecommitdiff
path: root/src/parsers
diff options
context:
space:
mode:
Diffstat (limited to 'src/parsers')
-rw-r--r--src/parsers/generic.cpp33
-rw-r--r--src/parsers/generic.h32
2 files changed, 65 insertions, 0 deletions
diff --git a/src/parsers/generic.cpp b/src/parsers/generic.cpp
new file mode 100644
index 0000000..d5016eb
--- /dev/null
+++ b/src/parsers/generic.cpp
@@ -0,0 +1,33 @@
+/*
+ * 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 "parsers/generic.h"
+
+#include "localconsts.h"
+
+extern int plugin_is_GPL_compatible;
+
+namespace Generic
+{
+
+void parseNodes(tree node)
+{
+}
+
+}
diff --git a/src/parsers/generic.h b/src/parsers/generic.h
new file mode 100644
index 0000000..f40fdae
--- /dev/null
+++ b/src/parsers/generic.h
@@ -0,0 +1,32 @@
+/*
+ * 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 PARSERS_GENERIC_H
+#define PARSERS_GENERIC_H
+
+#include "plugin.h"
+
+#include <string>
+
+namespace Generic
+{
+ void parseNodes(tree node);
+}
+
+#endif // PARSERS_GENERIC_H