summaryrefslogtreecommitdiff
path: root/src/pdacodegen.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2016-03-23 14:03:06 +0100
committerAdrian Thurston <thurston@complang.org>2016-03-23 14:03:06 +0100
commitb9d35edf909d3b68461e27a8985acb0df25d19b2 (patch)
tree87a221922546ea6e718f0a2ac91bc57e82e15c37 /src/pdacodegen.cc
parent721d2b727311f96333766d584b8c707c76ab5a91 (diff)
downloadcolm-b9d35edf909d3b68461e27a8985acb0df25d19b2.tar.gz
use tree_child in the reduction commit
Otherwise ignores and attributes will put the walks out of sync.
Diffstat (limited to 'src/pdacodegen.cc')
-rw-r--r--src/pdacodegen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdacodegen.cc b/src/pdacodegen.cc
index c052cc99..4de05161 100644
--- a/src/pdacodegen.cc
+++ b/src/pdacodegen.cc
@@ -66,7 +66,7 @@ void escapeLiteralString( std::ostream &out, const char *path )
void PdaCodeGen::defineRuntime()
{
out <<
- "extern struct colm_sections colm_program_text;\n"
+ "extern struct colm_sections " << objectName << ";\n"
"\n";
}