summaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-07-13 02:32:41 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-07-13 02:32:41 +0000
commitf9a0e96c1707a7f48f7d152901740444098c2628 (patch)
treef6656bb21e208ce3d9194a471d84e8b7a0fdac65 /gcc/cppexp.c
parentd55bb5be913e11b1ba639c124403ef0cd7e11517 (diff)
downloadgcc-f9a0e96c1707a7f48f7d152901740444098c2628.tar.gz
cppexp.c, [...]: Eradicate all traces of code dependent on traditional, lang_chill, or lang_fortran.
* cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c, cpplib.c, cpplib.h: Eradicate all traces of code dependent on traditional, lang_chill, or lang_fortran. * cppfiles.c: #undef strcmp to suppress warning about macros used without arguments. (_cpp_execute_include): Use f, not fname, in "No include path" error. (_cpp_pop_file_buffer): New function. * cpplib.c: Don't include <sys/mman.h>. (cpp_push_buffer): Set line_base and lineno in new buffer. (cpp_pop_buffer): Use _cpp_pop_file_buffer. * cpplex.c: Move all prototypes and structure declarations to the top of the file. Properly parenthesise some macro arguments. (cpp_scan_line): New function. (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth, don't need to walk up the stack counting. From-SVN: r35003
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r--gcc/cppexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index 5f141e2c5c0..ce1d82b5cc5 100644
--- a/gcc/cppexp.c
+++ b/gcc/cppexp.c
@@ -298,7 +298,7 @@ parse_charconst (pfile, tok)
SYNTAX_ERROR ("empty character constant");
else if (num_chars > max_chars)
SYNTAX_ERROR ("character constant too long");
- else if (num_chars != 1 && ! CPP_TRADITIONAL (pfile))
+ else if (num_chars != 1)
cpp_warning (pfile, "multi-character character constant");
/* If char type is signed, sign-extend the constant. */