summaryrefslogtreecommitdiff
path: root/src/printer/cfamily.cpp
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-10-01 14:34:28 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-10-01 14:34:28 -0600
commitdb3ff28ba74ff76aaac9e73d1b208e17992864cb (patch)
tree5258b04388c57ea29f470f395996146149df682b /src/printer/cfamily.cpp
parentf7c9c6e95f5a7333db5cef9d92c6c3438adbd6ee (diff)
downloadchill-db3ff28ba74ff76aaac9e73d1b208e17992864cb.tar.gz
chill-db3ff28ba74ff76aaac9e73d1b208e17992864cb.tar.bz2
chill-db3ff28ba74ff76aaac9e73d1b208e17992864cb.zip
fixing output
Diffstat (limited to 'src/printer/cfamily.cpp')
-rw-r--r--src/printer/cfamily.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printer/cfamily.cpp b/src/printer/cfamily.cpp
index d8f9057..738db47 100644
--- a/src/printer/cfamily.cpp
+++ b/src/printer/cfamily.cpp
@@ -322,7 +322,7 @@ void CFamily::printS(std::string ident, chillAST_Sizeof *n, std::ostream &o) {
void CFamily::printS(std::string ident, chillAST_SourceFile *n, std::ostream &o) {
o << "// this source is derived from CHILL AST originally from file '"
- << n->filename << "' as parsed by frontend compiler " << n->frontend << "\n\n";
+ << n->SourceFileName <<"' as parsed by frontend compiler " << n->frontend << "\n\n";
int nchild = n->getChildren()->size();
for (int i = 0; i < nchild; ++i) {
if (n->getChild(i)->isFromSourceFile) {