Akim Demaille <[EMAIL PROTECTED]> writes:

> The latter if doable...  That means having our scanner trace the
> semiu-colons.  It should be doable.

A bit tricky, though, since we should allow comments after the
semicolons.  Not sure it's worth it....

> I don't think that we should accepted something that's not used, or
> cannot be used.  Granted, it could be arbitrarily complex CPP
> invocations that evaluate into a single id...  But is this really
> something that is used?  How is output that stuff?
>
> This thing is really troublesome.
>
> BTW, what do you mean by arbitrary?  It stops at the first brace it
> sees, even if it's in comment?  In a string?

Bison stops at the first "real" brace it sees.  C comments and strings
don't count.  Yacc stops at the first "{" regardless where it appears.
So they're not 100% compatible on really weird inputs.


Reply via email to