aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-11-15 19:25:22 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-11-15 19:25:22 +0000
commitfe6c2db99ac5011f3b3fc22ee86e0502538bb7e9 (patch)
treec0d3e0b141751cde227115dc9b911f8e8050ca84 /gcc/cpplib.h
parentcbc2c182d1de2ffc2f5f15db9b96fd0c3dafe815 (diff)
downloadgcc-fe6c2db99ac5011f3b3fc22ee86e0502538bb7e9.zip
gcc-fe6c2db99ac5011f3b3fc22ee86e0502538bb7e9.tar.gz
gcc-fe6c2db99ac5011f3b3fc22ee86e0502538bb7e9.tar.bz2
cpplib.c (start_directive, [...]): New functions.
* cpplib.c (start_directive, end_directive): New functions. (_cpp_handle_directive, run_directive): Use them. (_cpp_handle_directive): Don't -Wtraditional on indented null directives. (_cpp_push_buffer): Don't re-clear was_skipping. * cpplib.h (struct cpp_reader): New member la_saved. * cppmacro.c (cpp_get_token): Don't interpret _Pragma in directives. From-SVN: r37487
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 1cda3e9..8c1a439 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -562,6 +562,7 @@ struct cpp_reader
struct cpp_lookahead *la_read; /* Read from this lookahead. */
struct cpp_lookahead *la_write; /* Write to this lookahead. */
struct cpp_lookahead *la_unused; /* Free store. */
+ struct cpp_lookahead *la_saved; /* Backup when entering directive. */
/* Error counter for exit code. */
unsigned int errors;