diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-02 22:45:35 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-02 22:45:35 -0400 |
commit | 5a90fe735772fd4d52216ae76ddad893bce177e6 (patch) | |
tree | 7f0f70fed0d3ae7deb5770a94ca451953b730625 /token.h | |
parent | 7b3c8c03c56fa90f8e110ed14ce3af27fb49b458 (diff) | |
download | ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.tar.gz ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.tar.bz2 ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.zip |
Moved xact_xdata_t into xact_t itself, as a set of "extended data" that might
be gathered during reporting.
Removed the references to accounts and such from the mask logic, which means
that the value expression "acount =~ /foo/" is needed in place of just
"/foo/".
Diffstat (limited to 'token.h')
-rw-r--r-- | token.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -36,7 +36,7 @@ namespace ledger { -struct expr_t::token_t : public noncopyable, public supports_flags<> +struct expr_t::token_t : public noncopyable { enum kind_t { VALUE, // any kind of literal value @@ -79,7 +79,7 @@ struct expr_t::token_t : public noncopyable, public supports_flags<> value_t value; std::size_t length; - explicit token_t() : supports_flags<>(), kind(UNKNOWN), length(0) { + explicit token_t() : kind(UNKNOWN), length(0) { TRACE_CTOR(token_t, ""); } ~token_t() throw() { @@ -104,7 +104,7 @@ struct expr_t::token_t : public noncopyable, public supports_flags<> } void parse_ident(std::istream& in); - void next(std::istream& in, unsigned int flags); + void next(std::istream& in, const uint_least8_t flags); void rewind(std::istream& in); void unexpected(); |