summaryrefslogtreecommitdiff
path: root/libcpp/directives-only.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2019-08-28 18:43:37 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2019-08-28 18:43:37 +0000
commita0be978a8216b58562c8eff71df977aca7d78387 (patch)
tree434fe4e0a9b38aaa633dacf3381e0bd4c8049022 /libcpp/directives-only.c
parentfc4f90f0c8eca75fb90c736476360584f68d7ef9 (diff)
downloadgcc-a0be978a8216b58562c8eff71df977aca7d78387.tar.gz
[Preprocessor] small cleanups
https://gcc.gnu.org/ml/gcc-patches/2019-08/msg01904.html * directives-only.c (_cpp_preprocess_dir_only): Use false, not zero for _cpp_handle_directive call. * directives.c (_cpp_handle_directive): Indented is bool. * files.c (struct _cpp_file): Make bools 1 bit bitfields. * internal.h (enum include_type): Reformat and comment. (struct cpp_buffer): Make flags 1 bit bitfields. (_cpp_handle_directive): Indented is bool. From-SVN: r274999
Diffstat (limited to 'libcpp/directives-only.c')
-rw-r--r--libcpp/directives-only.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/directives-only.c b/libcpp/directives-only.c
index 847225af825..fae3b5b4ba4 100644
--- a/libcpp/directives-only.c
+++ b/libcpp/directives-only.c
@@ -101,7 +101,7 @@ _cpp_preprocess_dir_only (cpp_reader *pfile,
/* Ensure proper column numbering for generated error messages. */
buffer->line_base -= col - 1;
- _cpp_handle_directive (pfile, 0 /* ignore indented */);
+ _cpp_handle_directive (pfile, false /* ignore indented */);
/* Sanitize the line settings. Duplicate #include's can mess
things up. */