aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/cpp.texi
diff options
context:
space:
mode:
authorNeil Booth <neil@duron.akihabara.co.uk>2004-07-04 12:57:50 +0000
committerNeil Booth <neil@gcc.gnu.org>2004-07-04 12:57:50 +0000
commita09d4744294e28a19e7f785e85a361d2cd34c25e (patch)
tree7aa5c20469e6c104827c6efe34863e1cdbc76042 /gcc/doc/cpp.texi
parentb25c17bcf0525adb212c2f08fa2607a0543630a8 (diff)
downloadgcc-a09d4744294e28a19e7f785e85a361d2cd34c25e.zip
gcc-a09d4744294e28a19e7f785e85a361d2cd34c25e.tar.gz
gcc-a09d4744294e28a19e7f785e85a361d2cd34c25e.tar.bz2
re PR preprocessor/16192 (Bug in expression evaluation when operand is missing)
* doc/cpp.texi: Don't document what we do for ill-formed expressions. * doc/cppopts.texi: Clarify processing of command-line defines. libcpp: PR preprocessor/16192 PR preprocessor/15913 PR preprocessor/15572 * expr.c (_cpp_parse_expr): Handle remaining cases where an expression is missing. * init.c (post_options): Traditional cpp doesn't do // comments. testsuite: * gcc.dg/cpp/if-mop.c: Two new testcases. * gcc.dg/cpp/trad/comment-3.c: New. From-SVN: r84080
Diffstat (limited to 'gcc/doc/cpp.texi')
-rw-r--r--gcc/doc/cpp.texi3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index 6215164..631992d 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -2965,9 +2965,6 @@ expression, and may give different results in some cases. If the value
comes out to be nonzero, the @samp{#if} succeeds and the @var{controlled
text} is included; otherwise it is skipped.
-If @var{expression} is not correctly formed, GCC issues an error and
-treats the conditional as having failed.
-
@node Defined
@subsection Defined