summaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-04-16 02:10:34 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-04-16 02:10:34 +0000
commitd481b69b5e3d1ea42d9b36c652aa3c9ab5c35404 (patch)
tree8fdf961b2c1bfe9fafba9596042a1e5b2e031689 /gcc/cpphash.h
parent422b914d92aa9e387a70de73a8ed5359cf9de9b6 (diff)
downloadgcc-d481b69b5e3d1ea42d9b36c652aa3c9ab5c35404.tar.gz
cpphash.h (SYNTAX_INCLUDE, [...]): new.
* cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new. * cpplib.c: Add new syntax flags to directive table, and supporting macros. From-SVN: r33179
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r--gcc/cpphash.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index 99e45fb0c71..b8f3ba9381b 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -120,6 +120,12 @@ struct hashnode
enum node_type type; /* type of special token */
};
+/* Directive flags. */
+
+#define SYNTAX_INCLUDE (1 << 8)
+#define SYNTAX_ASSERT (1 << 9)
+typedef int (* directive_handler) PARAMS ((cpp_reader *));
+
/* List of directories to look for include files in. */
struct file_name_list
{