diff options
author | David Robillard <d@drobilla.net> | 2010-12-09 03:54:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-09 03:54:40 +0000 |
commit | f8bb745beb481846e715cd1e455b3d688fe34d65 (patch) | |
tree | 5730d1dbf70ed6d42ef2786ea012896e9af28e42 /src/c.cpp | |
parent | 39af9fe79809a67c837485d8edcae6b9246c5fa6 (diff) | |
download | resp-f8bb745beb481846e715cd1e455b3d688fe34d65.tar.gz resp-f8bb745beb481846e715cd1e455b3d688fe34d65.tar.bz2 resp-f8bb745beb481846e715cd1e455b3d688fe34d65.zip |
Make environment always referenced by symbols.
Intern symbol strings, but not ASymbol objects themselves, so each symbol can
have a different Cursor. Fixes missing locations in error reporting.
git-svn-id: http://svn.drobilla.net/resp/resp@324 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/c.cpp')
-rw-r--r-- | src/c.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -184,7 +184,7 @@ CEngine::startFn(CEnv& cenv, const std::string& name, const ATuple* args, const for (; ai != argsT->end(); ++ai, ++ni) { if (ai != argsT->begin()) f->text += ", "; - f->text += *llType((*ai)->as_type()) + " " + (*ni)->as_symbol()->cppstr; + f->text += *llType((*ai)->as_type()) + " " + (*ni)->as_symbol()->sym(); } f->text += ")\n{\n"; |