aboutsummaryrefslogtreecommitdiffstats
path: root/tuplr.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-18 03:55:17 +0000
committerDavid Robillard <d@drobilla.net>2009-06-18 03:55:17 +0000
commit4e34e229beb12164ea49b1121785dc71eb7c3566 (patch)
tree3951bb94748289698cba24cc220be5323938e645 /tuplr.hpp
parent815991c906f912c4eb52e1d3646a6110d472a8ec (diff)
downloadresp-4e34e229beb12164ea49b1121785dc71eb7c3566.tar.gz
resp-4e34e229beb12164ea49b1121785dc71eb7c3566.tar.bz2
resp-4e34e229beb12164ea49b1121785dc71eb7c3566.zip
Strip trailing whitespace.
git-svn-id: http://svn.drobilla.net/resp/tuplr@118 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'tuplr.hpp')
-rw-r--r--tuplr.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tuplr.hpp b/tuplr.hpp
index 1984f6e..d6ceb4c 100644
--- a/tuplr.hpp
+++ b/tuplr.hpp
@@ -433,7 +433,7 @@ inline ostream& operator<<(ostream& out, const Constraints& c) {
out << i->first << " : " << i->second << endl;
return out;
}
-
+
struct Subst : public map<const AType,AType*> {
Subst(AType* s=0, AType* t=0) { if (s && t) { assert(s != t); insert(make_pair(*s, t)); } }
static Subst compose(const Subst& delta, const Subst& gamma);
@@ -506,10 +506,10 @@ struct TEnv : public Env< const ASymbol*, pair<AST*, AType*> > {
struct CEnv {
CEnv(PEnv& p, TEnv& t, CEngine e, ostream& os=std::cout, ostream& es=std::cerr);
~CEnv();
-
+
typedef Env<const ASymbol*, AST*> Code;
typedef Env<const AST*, CValue> Vals;
-
+
CEngine engine();
string gensym(const char* s="_") { return (format("%s%d") % s % symID++).str(); }
void push() { tenv.push(); vals.push(); }
@@ -528,7 +528,7 @@ struct CEnv {
tenv.def(sym, make_pair(c, t));
vals.def(sym, v);
}
-
+
ostream& out;
ostream& err;
PEnv& penv;