This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Implementing OpenMP pragmas for the C front end
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Sat, 8 Feb 2003 00:17:22 +0000 (GMT)
- Subject: Re: Implementing OpenMP pragmas for the C front end
On Fri, 7 Feb 2003, Neil Booth wrote:
> This kind of thing is a dog with the current C parser. With a recursive
> descent parser like Mark's or mine, it would simply be a matter of
> calling (umm, let's think of a name 8-)) c_parser_compound_statement
> after accepting the CPP_EOF indicating the end of the pragma.
>
> It's probably worth waiting for the new parser; I don't think we'll be
> using bison in 18 months time.
When do we get a branch for the new parser? (Or incremental improvements
that help the new parser on mainline, or a branch for particular such
improvements. Cf <http://gcc.gnu.org/ml/gcc/2002-06/msg01467.html>:
incremental improvements should go on the mainline to avoid them getting
lost in the case of long delays. Given a design similar to the C++ parser
- and simply trying to replace the parser, reusing working code, rather
than to redesign the world at once - I'd expect there should be various
opportunities for such cleanups.) A branch doesn't require the code to
actually work.
--
Joseph S. Myers
jsm28@cam.ac.uk