summaryrefslogtreecommitdiff
path: root/valexpr.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-03-28 05:24:02 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:32 -0400
commit5a93d4819e5fc753352618b729e0fe45532166b9 (patch)
tree200220bfcc5642a9efd8847001aeac889ed79e7d /valexpr.h
parentc3c401ac0f43dfb3f71b818b45ef47578e6d390b (diff)
downloadfork-ledger-5a93d4819e5fc753352618b729e0fe45532166b9.tar.gz
fork-ledger-5a93d4819e5fc753352618b729e0fe45532166b9.tar.bz2
fork-ledger-5a93d4819e5fc753352618b729e0fe45532166b9.zip
Reworked the way date/times are handled.
Diffstat (limited to 'valexpr.h')
-rw-r--r--valexpr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/valexpr.h b/valexpr.h
index e9bf4493..ff3d4d3c 100644
--- a/valexpr.h
+++ b/valexpr.h
@@ -224,7 +224,7 @@ struct scope_t
typedef std::map<const std::string, value_expr_t *> symbol_map;
typedef std::pair<const std::string, value_expr_t *> symbol_pair;
-
+
symbol_map symbols;
scope_t(scope_t * _parent = NULL) : parent(_parent) {
@@ -267,8 +267,8 @@ struct scope_t
extern std::auto_ptr<scope_t> global_scope;
-extern std::time_t terminus;
-extern bool initialized;
+extern datetime_t terminus;
+extern bool initialized;
void init_value_expr();