Implementing OpenMP pragmas for the C front end

Joseph S. Myers jsm28@cam.ac.uk
Sat Feb 8 00:17:00 GMT 2003


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



More information about the Gcc mailing list