[svn:parrot] r38772 - branches/pmc_pct/compilers/pmcc/src/emitter
bacek at svn.parrot.org
bacek at svn.parrot.org
Thu May 14 11:04:36 UTC 2009
Author: bacek
Date: Thu May 14 11:04:36 2009
New Revision: 38772
URL: https://trac.parrot.org/parrot/changeset/38772
Log:
Emit c_header to C-code.
Modified:
branches/pmc_pct/compilers/pmcc/src/emitter/pmc.pm
Modified: branches/pmc_pct/compilers/pmcc/src/emitter/pmc.pm
==============================================================================
--- branches/pmc_pct/compilers/pmcc/src/emitter/pmc.pm Thu May 14 11:04:14 2009 (r38771)
+++ branches/pmc_pct/compilers/pmcc/src/emitter/pmc.pm Thu May 14 11:04:36 2009 (r38772)
@@ -327,7 +327,8 @@
method generate_c_code() {
self.pre_method_gen();
my $res :=
- self.generate_c_functions()
+ self.past<c_header> ~ "\n\n"
+ ~ self.generate_c_functions()
~ self.generate_class_init();
}
More information about the parrot-commits
mailing list