help-bison
[Top][All Lists]
Advanced

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

Re: Problems with multithreading and slow compilation


From: Frank Heckenbach
Subject: Re: Problems with multithreading and slow compilation
Date: Wed, 7 Jul 2004 08:12:22 +0100
User-agent: semail 20040101

Laurence Finston wrote:

> I'm also having problems with having to wait a long time while the
> C++ file generated by Bison compiles.  I've been meaning to try to put
> more code for the actions into functions to see if this will help, 
> but since the return values of the functions must be tested in the rules, 
> it makes things more complicated and interferes with hacking.

A bit (one temporary variable for each such result). OTOH, you can
then use `return' in the middle of the function when useful. This is
something you can't do in a bison action (AFAIK), at least not with
the expected result.

Frank

-- 
Frank Heckenbach, address@hidden
http://fjf.gnu.de/
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]