2008/11/15 Aleksi Nurmi <[EMAIL PROTECTED]>:
> 1. This is the most obvious one: lib64/libbitc.bita is missing
> whitespace after import statements, resulting in lines such as
> "(importbitc.stdio as stdio)".
Attached a tiny patch to fix this if you're interested. Sorry for
spamming the list.
Aleksi Nurmi
diff -r d904983262e8 src/compiler/BitC-pp.cxx
--- a/src/compiler/BitC-pp.cxx Fri Nov 07 14:24:35 2008 -0500
+++ b/src/compiler/BitC-pp.cxx Sat Nov 15 07:58:19 2008 +0200
@@ -640,7 +640,7 @@ BitcP(INOstream& out, shared_ptr <const
shared_ptr<AST> ifAst = ast->child(0);
shared_ptr<AST> idAst = ast->child(1);
- out << "(" << ast->atKwd();
+ out << "(" << ast->atKwd() << " ";
BitcP(out, ifAst, showTypes);
out << " as ";
BitcP(out, idAst, showTypes);
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev