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, so if the compiler barfs on any of the above it must be
>> faulty. I suggest a bug report to the maintainers of this compiler
>> is in order.
>
>All the compilers grok the literal, but the problem is in the `assert'
>macro which stringifies it.

Which version of the 'assert' macro is it using, the standard version
(#expression) or the traditional version ("expression")? I can see
that the traditional version would likely fail (depending on whether
or not the preprocessor is smart enough to substitute it with the
standard version), but the standard version ought to work as
advertised.

Reply via email to