diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-14 11:09:06 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:49 -0400 |
commit | 77db7eb92f730af315d4bcdf831cc67acb386b58 (patch) | |
tree | 566a413e47d8d9f2f82d257c4ad3988c0a38d919 /src/utils.h | |
parent | 3cc14c70d47f6f7674b587eb08b9d0e02a90e662 (diff) | |
download | ledger-77db7eb92f730af315d4bcdf831cc67acb386b58.tar.gz ledger-77db7eb92f730af315d4bcdf831cc67acb386b58.tar.bz2 ledger-77db7eb92f730af315d4bcdf831cc67acb386b58.zip |
Added initial support for using builders from the various parsers; at the moment is just uses the xml_writer_t builder to output the contents of the ledger journal as XML
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index 4dabd7ea..85f81239 100644 --- a/src/utils.h +++ b/src/utils.h @@ -511,6 +511,8 @@ inline void throw_unexpected_error(char, char) { * General utility functions */ +#define foreach BOOST_FOREACH + namespace ledger { path resolve_path(const path& pathname); |