lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [lucy-commits] git commit: refs/heads/master - Don't write callbacks for included classes
Date Tue, 18 Mar 2014 16:45:00 GMT
Repository: lucy
Updated Branches:
  refs/heads/master 1fd0540a1 -> e861e066f


Don't write callbacks for included classes


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/e861e066
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/e861e066
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/e861e066

Branch: refs/heads/master
Commit: e861e066f6adec4519b48ec3daa464e18455cd55
Parents: 1fd0540
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Tue Mar 18 17:43:13 2014 +0100
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Tue Mar 18 17:43:13 2014 +0100

----------------------------------------------------------------------
 clownfish/compiler/src/CFCPerl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/e861e066/clownfish/compiler/src/CFCPerl.c
----------------------------------------------------------------------
diff --git a/clownfish/compiler/src/CFCPerl.c b/clownfish/compiler/src/CFCPerl.c
index 2c873f5..3f51df2 100644
--- a/clownfish/compiler/src/CFCPerl.c
+++ b/clownfish/compiler/src/CFCPerl.c
@@ -564,7 +564,7 @@ S_write_callbacks_c(CFCPerl *self) {
 
     for (size_t i = 0; ordered[i] != NULL; i++) {
         CFCClass *klass = ordered[i];
-        if (CFCClass_inert(klass)) { continue; }
+        if (CFCClass_included(klass) || CFCClass_inert(klass)) { continue; }
 
         CFCMethod **fresh_methods = CFCClass_fresh_methods(klass);
         for (int meth_num = 0; fresh_methods[meth_num] != NULL; meth_num++) {


Mime
View raw message