aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1995-04-30 14:43:12 -0700
committerPer Bothner <bothner@gcc.gnu.org>1995-04-30 14:43:12 -0700
commit7e2eb697791947145a2b1097f6a638bcc340b6e5 (patch)
tree70f6a8e1763d64642c17a5dd143a3e019e3d88ed /gcc/cpplib.h
parent92c874f7d7d9efdb5dac59708f98d4b597763160 (diff)
downloadgcc-7e2eb697791947145a2b1097f6a638bcc340b6e5.zip
gcc-7e2eb697791947145a2b1097f6a638bcc340b6e5.tar.gz
gcc-7e2eb697791947145a2b1097f6a638bcc340b6e5.tar.bz2
Remove PARSE_GETC. Add comment about "@ ".
From-SVN: r9551
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 0b74ca7..298a570 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -160,11 +160,14 @@ struct cpp_buffer {
/* True if buffer contains escape sequences.
Currently there are are only two kind:
"@-" means following identifier should not be macro-expanded.
+ "@ " means a token-separator. This turns into " " in final output
+ if not stringizing and needed to separate tokens; otherwise nothing.
"@@" means a normal '@'. */
char has_escapes;
};
struct cpp_pending; /* Forward declaration - for C++. */
+struct file_name_map_list;
typedef struct assertion_hashnode ASSERTION_HASHNODE;
#define ASSERTION_HASHSIZE 37
@@ -314,6 +317,8 @@ struct cpp_options {
/* Name of output file, for error messages. */
char *out_fname;
+ struct file_name_map_list *map_list;
+
/* Non-0 means -v, so print the full set of include dirs. */
char verbose;
@@ -496,8 +501,6 @@ struct cpp_options {
#define CPP_PEDANTIC(PFILE) (CPP_OPTIONS (PFILE)->pedantic)
#define CPP_PRINT_DEPS(PFILE) (CPP_OPTIONS (PFILE)->print_deps)
-#define PARSE_GETC(IN) ((IN)-> cur < (IN)->limit || ((IN)->cur = (IN)->token_buffer, (IN)->underflow (IN) != EOF_TOKEN) ? *(IN)->cur++ : EOF)
-
/* Name under which this program was invoked. */
extern char *progname;