]> gcc.gnu.org Git - gcc.git/commit - libcpp/directives.c
re PR preprocessor/36320 (Required diagnosis of syntax error missed)
authorTom Tromey <tromey@redhat.com>
Fri, 30 May 2008 14:25:09 +0000 (14:25 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 30 May 2008 14:25:09 +0000 (14:25 +0000)
commitd750887f5f4273e10625e13d1bac1db9aeef849e
tree5c6c1e4ce1846b970214259abb76f69f5370d6be
parentbfab40f8e5c12b8fd32dfd55a7437528def52f3e
re PR preprocessor/36320 (Required diagnosis of syntax error missed)

gcc/testsuite
PR preprocessor/36320:
* gcc.dg/cpp/pr36320.c: New file.
libcpp
PR preprocessor/36320:
* internal.h (_cpp_parse_expr): Update.
* expr.c (_cpp_parse_expr): Add 'is_if' argument.  Update error
messages.
* directives.c (do_if): Update.
(do_elif): Require expression if processing group.

From-SVN: r136209
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/pr36320.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/directives.c
libcpp/expr.c
libcpp/internal.h
This page took 0.065286 seconds and 5 git commands to generate.