[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dubious features
From: |
Paul Eggert |
Subject: |
Re: Dubious features |
Date: |
Thu, 08 Jun 2006 00:43:35 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Akim Demaille <address@hidden> 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.
- Dubious features, Akim Demaille, 2006/06/07
- Re: Dubious features, Joel E. Denny, 2006/06/07
- Re: Dubious features, Akim Demaille, 2006/06/07
- Re: Dubious features, Joel E. Denny, 2006/06/07
- Re: Dubious features, Akim Demaille, 2006/06/07
- Re: Dubious features, Joel E. Denny, 2006/06/07
- Re: Dubious features, Paul Eggert, 2006/06/07
- Re: Dubious features, Joel E. Denny, 2006/06/07
Re: Dubious features, Paul Eggert, 2006/06/07
- Re: Dubious features, Akim Demaille, 2006/06/08
- Re: Dubious features,
Paul Eggert <=
- Re: Dubious features, Akim Demaille, 2006/06/08
- Re: Dubious features, Akim Demaille, 2006/06/08
- Re: Dubious features, Paul Eggert, 2006/06/08
- Re: Dubious features, Akim Demaille, 2006/06/08
- Re: Dubious features, Paul Eggert, 2006/06/08
- Re: Dubious features, Akim Demaille, 2006/06/10
- Re: Dubious features, Paul Eggert, 2006/06/11
- Re: %union ... {, Akim Demaille, 2006/06/16
- Re: %union ... {, Paul Eggert, 2006/06/16
- Re: %union ... {, Akim Demaille, 2006/06/17