aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index f18a61d..a517a26 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -346,10 +346,18 @@ struct cpp_options {
char objc;
- /* Nonzero means this is an assembly file, and allow
- unknown directives, which could be comments. */
+ /* Nonzero means this is an assembly file, so ignore unrecognized
+ directives and the "# 33" form of #line, both of which are
+ probably comments. Also, permit unbalanced ' strings (again,
+ likely to be in comments). */
- int lang_asm;
+ char lang_asm;
+
+ /* Nonzero means this is Fortran, and we don't know where the
+ comments are, so permit unbalanced ' strings. Unlike lang_asm,
+ this does not ignore unrecognized directives. */
+
+ char lang_fortran;
/* Nonzero means turn NOTREACHED into #pragma NOTREACHED etc */