diff options
author | David Robillard <d@drobilla.net> | 2009-07-04 03:44:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-07-04 03:44:06 +0000 |
commit | 9e12b8536648a30377040f407e06ea0713db91b4 (patch) | |
tree | c3ff6258e0858fdde484a5b8fa174f76ba8bbc1b /src/parse.cpp | |
parent | 54cee059a533433091a4b65cf47b821bcbb0840c (diff) | |
download | resp-9e12b8536648a30377040f407e06ea0713db91b4.tar.gz resp-9e12b8536648a30377040f407e06ea0713db91b4.tar.bz2 resp-9e12b8536648a30377040f407e06ea0713db91b4.zip |
Lex to AST with AString type.
git-svn-id: http://svn.drobilla.net/resp/tuplr@181 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/parse.cpp')
-rw-r--r-- | src/parse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.cpp b/src/parse.cpp index a6af50c..a065e64 100644 --- a/src/parse.cpp +++ b/src/parse.cpp @@ -45,7 +45,7 @@ macDef(PEnv& penv, const SExp& exp) argsExp.push_back(*j); const SExp& body = *(++i); SExp fnExp(body.loc); - fnExp.push_back(SExp(body.loc, "fn")); + fnExp.push_back(SExp(body.loc, new AString(body.loc, "fn"))); fnExp.push_back(argsExp); for (; i != exp.end(); ++i) fnExp.push_back(*i); |