cpplib.h (struct cpp_options): Change lang_asm to char.
authorZack Weinberg <zack@gcc.gnu.org>
Wed, 12 Jan 2000 00:35:36 +0000 (00:35 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Wed, 12 Jan 2000 00:35:36 +0000 (00:35 +0000)
commit40c79d58a3f379be9eb020e7d338319bf0e93907
treee9b1edb4e28f5f27868000490ca3a879bdf09c87
parent2e76d35c7c6d9da8bbe0743362f43699cb384b56
cpplib.h (struct cpp_options): Change lang_asm to char.

2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>

* cpplib.h (struct cpp_options): Change lang_asm to char.
Add lang_fortran.
* cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
done in cpp_handle_option now.
(initialize_builtins): Take out special case code used only by
__STDC_VERSION__.
(cpp_handle_option): Turn off trigraphs and trigraph warnings
if -traditional.  Recognize -lang-fortran and set
lang_fortran, also turn off cplusplus_comments.
(print_help): Document -lang-fortran.
* cpplib.c (handle_directive): Ignore `# 123 "file"' if
lang_asm. Ignore all directives other than `# 123 "file"' if
CPP_PREPROCESSED.
(cpp_get_token): If -traditional, don't recognize directives
unless the # is in column 1.
(parse_string): If lang_fortran or lang_asm, silently
terminate strings ('' or "") at end of line.
Remove unnecessary braces.

From-SVN: r31342
gcc/ChangeLog
gcc/cppinit.c
gcc/cpplib.c
gcc/cpplib.h