diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-10 02:54:36 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-10 02:54:36 -0400 |
commit | 548a03e725752d2a61a76fb3d3ebb736f88c0afa (patch) | |
tree | caaffdad8cdfec4f2027a074cda2c0f9a49a2369 /src/scope.h | |
parent | 7ffb6c472c840acf8df5a3dd652d1c111787f87f (diff) | |
download | fork-ledger-548a03e725752d2a61a76fb3d3ebb736f88c0afa.tar.gz fork-ledger-548a03e725752d2a61a76fb3d3ebb736f88c0afa.tar.bz2 fork-ledger-548a03e725752d2a61a76fb3d3ebb736f88c0afa.zip |
Regular expressions supplied after 'reg' or 'bal' are working again.
Diffstat (limited to 'src/scope.h')
-rw-r--r-- | src/scope.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scope.h b/src/scope.h index 88b45d84..8c98bb3d 100644 --- a/src/scope.h +++ b/src/scope.h @@ -157,9 +157,11 @@ public: } void set_args(const value_t& _args) { + assert(_args.is_sequence()); args = _args; } value_t& value() { + assert(args.is_null() || args.is_sequence()); return args; } |