Re: Re : gcc analyze tools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


On Mon, Jul 25, 2011 at 7:35 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
>
> The C and C++ languages are not LALR(1), and as such are not suitable
> for parsing by bison.  The old bison parsers were hard to read, hard to
> modify, and, at least for C++, not wholly correct.
>
> Ian
>
Do you know when the changes were made (when did GCC go to hand
written lexers and parsers?)? 3.4.6 still uses a bison parser, right?
I think it uses a hand written lexer (built into the preprocessor?).

Thanks!

kevin



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux