Re: Missing escape character

2001-06-26 Thread Ian Abbott
On Tue, 26 Jun 2001 10:45:42 -0400, Bill Bumgarner [EMAIL PROTECTED] wrote: On Tuesday, June 26, 2001, at 04:27 AM, Hrvoje Niksic wrote: Bill Bumgarner [EMAIL PROTECTED] writes: Certainly: [localhost:/tmp] bbum% cc -v Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs Apple

Re: Missing escape character

2001-06-26 Thread Ian Abbott
On 26 Jun 2001 21:02:21 +0200, Hrvoje Niksic [EMAIL PROTECTED] wrote: Ian Abbott [EMAIL PROTECTED] writes: ch == '\'' || ch == ''== ch == '\\'' || ch == '\' ch == '\'' || ch == '\' == ch == '\\'' || ch == '\\\' Also, both versions of the character constant '' and '\' are valid,

Missing escape character

2001-06-25 Thread Bill Bumgarner
In html-parse, the following case near line 449 is missing the \ in '\' -- it comes out as '' and, as such, causes some compilers to barf. case AC_S_QUOTE1: assert (ch == '\'' || ch == '\');

Re: Missing escape character

2001-06-25 Thread Hrvoje Niksic
Bill Bumgarner [EMAIL PROTECTED] writes: In html-parse, the following case near line 449 is missing the \ in '\' -- it comes out as '' and, as such, causes some compilers to barf. Could you name an actual compiler that barfs on it? The constant '' is perfectly legal in C, and I'm positive

Re: Missing escape character

2001-06-25 Thread Bill Bumgarner
Certainly: [localhost:/tmp] bbum% cc -v Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs Apple Computer, Inc. version gcc-926, based on gcc version 2.95.2 19991024 (release) On Monday, June 25, 2001, at 05:54 PM, Hrvoje Niksic wrote: Bill Bumgarner [EMAIL PROTECTED] writes: In