>> > BTW, as a quick note, purely textual include should be doable with
>> > a simple wrapper script that invokes the c++ preprocessor frontend.
>> Wouldn't that mess up line numbers and error messages?
> Ahh yes. Beancount would have to honor the #line directives.
There can be other surprises with CPP, since it's specifically designed
for C/C++ and not for Beancount. We used to use CPP to generate Emacs's
Makefile and there were a few oddities we had to work around (can't
remember the details, but at least there were a few predefined CPP
constants which caused undesired substitutions).
Stefan
--
You received this message because you are subscribed to the Google Groups
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beancount/jwvr29awenm.fsf-monnier%2Bgmane.comp.finance.beancount%40gnu.org.
For more options, visit https://groups.google.com/d/optout.