[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: variables in yyparse
From: |
Hans Aberg |
Subject: |
Re: variables in yyparse |
Date: |
Sat, 18 Dec 2004 19:41:44 +0100 |
User-agent: |
Microsoft-Outlook-Express-Macintosh-Edition/5.0.6 |
On 2004/12/16 19:58, Laurence Finston at address@hidden wrote:
>> I mean it must take ages to compile. A single function is tens of
>> thousands lines long.
>>
>
> Not ages. I've put a lot of code for rules into functions.
> When I get a chance I'll do it for more, but at the moment
> it's not a big problem. The code for handling error exits
> from the functions and thrown exceptions has to be in the
> rules, though, so there's a limit to how much putting code
> into functions helps.
Why would C++ exceptions be throwed directly from the rule actions, and not
in functions called from these?
Hans Aberg
- Re: Bison version 1.875e available for testing, (continued)
Re: Bison version 1.875e available for testing, Hans Aberg, 2004/12/15
Re: Bison version 1.875e available for testing, Hans Aberg, 2004/12/15