2009/3/29 John Wiegley <[email protected]>:
>
> On Mar 29, 2009, at 4:27 AM, Mark Carter wrote:

>> Would you like me to have a crack at providing a patch for this?
>
> You are welcome to try, but it deals with some of the most complicated code
> in Ledger, combined with the fact that I like to avoid all global variables,
> but don't want to pass yet another parameter around just for this.  Let me
> give it a bit of thought first.

:) I've taken a look at the code, and realised that it might be more
difficult than I had first imagined. I originally thought of doing
something like replace CURRENT_DATE() with a function called
end_date() that called CURRENT_DATE() if --end wasn't specified, and
the specified date if --end was specified.

Then I figured that I was being too optimistic, and didn't know nearly
enough about how the code worked to make a judgement.

Regards,
Mark.

Reply via email to