A hand-written recursive-descent C++ parser has replaced the YACC-derived C++ parser from previous GCC releases. The new parser contains much improved infrastructure needed for better parsing of C++ source codes, handling of extensions, and clean separation (where possible) between proper semantics analysis and parsing. The new parser fixes many bugs that were found in the old parser.
C++のparserが (スコア:3, 興味深い)
Re:C++のparserが (スコア:1, 参考になる)
Re:C++のparserが (スコア:1, 参考になる)
int (x);
ある意味で、言語設計のミスです。