summaryrefslogtreecommitdiff
path: root/src/expr/command.h
diff options
context:
space:
mode:
authorChristopher L. Conway <christopherleeconway@gmail.com>2010-02-06 03:06:07 +0000
committerChristopher L. Conway <christopherleeconway@gmail.com>2010-02-06 03:06:07 +0000
commitc991b73b95734fb306badeafb5f387623c7fb790 (patch)
treeb26b5acf84d3097ada23e0680a0388259304866e /src/expr/command.h
parent7554158b42c89fcadedd019c360df30e152ef85e (diff)
Preliminary support for types in parser
Diffstat (limited to 'src/expr/command.h')
-rw-r--r--src/expr/command.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/expr/command.h b/src/expr/command.h
index 923af0a4d..b6f1987a2 100644
--- a/src/expr/command.h
+++ b/src/expr/command.h
@@ -64,7 +64,7 @@ protected:
class CVC4_PUBLIC DeclarationCommand : public EmptyCommand {
public:
- DeclarationCommand(const std::vector<std::string>& ids);
+ DeclarationCommand(const std::vector<std::string>& ids, const Type* t);
void toStream(std::ostream& out) const;
protected:
std::vector<std::string> d_declaredSymbols;
@@ -241,7 +241,9 @@ inline void CommandSequence::addCommand(Command* cmd) {
/* class DeclarationCommand */
-inline DeclarationCommand::DeclarationCommand(const std::vector<std::string>& ids) :
+inline
+DeclarationCommand::DeclarationCommand(const std::vector<std::string>& ids,
+ const Type* t) :
d_declaredSymbols(ids) {
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback