summaryrefslogtreecommitdiff
path: root/format.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-02-09 05:02:01 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:40:54 -0400
commit4fda55175204c31d833975c0ccb968e0b8f6039a (patch)
treef959c5e4b0f46472d8fd8d98e734bb4012feaa5f /format.h
parent64461f0d95b418fe2320bd8d92363fb7c9f899ae (diff)
downloadfork-ledger-4fda55175204c31d833975c0ccb968e0b8f6039a.tar.gz
fork-ledger-4fda55175204c31d833975c0ccb968e0b8f6039a.tar.bz2
fork-ledger-4fda55175204c31d833975c0ccb968e0b8f6039a.zip
(parse_elements): Added %S, %B and %E elements, for printing the
source path, beginning and ending positions of an entry.
Diffstat (limited to 'format.h')
-rw-r--r--format.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/format.h b/format.h
index 37e5e21a..3d45a2d0 100644
--- a/format.h
+++ b/format.h
@@ -17,6 +17,9 @@ struct element_t
enum kind_t {
STRING,
VALUE_EXPR,
+ SOURCE,
+ BEG_POS,
+ END_POS,
DATE_STRING,
CLEARED,
CODE,