summaryrefslogtreecommitdiffstats
path: root/src/libvpsc/variable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libvpsc/variable.cpp')
-rw-r--r--src/libvpsc/variable.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libvpsc/variable.cpp b/src/libvpsc/variable.cpp
new file mode 100644
index 000000000..1890f788e
--- /dev/null
+++ b/src/libvpsc/variable.cpp
@@ -0,0 +1,15 @@
+/**
+ *
+ * Authors:
+ * Tim Dwyer <tgdwyer@gmail.com>
+ *
+ * Copyright (C) 2005 Authors
+ *
+ * Released under GNU LGPL. Read the file 'COPYING' for more information.
+ */
+#include "variable.h"
+std::ostream& operator <<(std::ostream &os, const Variable &v) {
+ os << "(" << v.id << "=" << v.position() << ")";
+ return os;
+}
+