2006-01-09 10:31:47 -05:00
|
|
|
$OpenBSD: patch-gcc_cp_parser_c,v 1.10 2006/01/09 15:31:47 espie Exp $
|
|
|
|
--- gcc/cp/parser.c.orig Wed Jan 4 19:50:07 2006
|
|
|
|
+++ gcc/cp/parser.c Mon Jan 9 13:36:27 2006
|
|
|
|
@@ -15797,7 +15797,7 @@ cp_parser_require (cp_parser* parser,
|
2004-09-23 18:13:31 -04:00
|
|
|
/* Output the MESSAGE -- unless we're parsing tentatively. */
|
|
|
|
if (!cp_parser_simulate_error (parser))
|
|
|
|
{
|
|
|
|
- char *message = concat ("expected ", token_desc, NULL);
|
|
|
|
+ char *message = concat ("expected ", token_desc, (void *)0);
|
|
|
|
cp_parser_error (parser, message);
|
|
|
|
free (message);
|
|
|
|
}
|