From 3de345f3049586e7dcc9872be0de6abd190f3351 Mon Sep 17 00:00:00 2001 From: Jerome St-Louis Date: Wed, 13 Jan 2016 05:58:16 -0500 Subject: [PATCH] compiler/libec/output: Fixed mismatched parentheses for __extension__ ( ) - This was causing the automated Debian build to fail on m68k --- compiler/bootstrap/ecere/bootstrap/BTNode.c | 2 +- compiler/bootstrap/libec/bootstrap/output.c | 2 +- compiler/libec/src/output.ec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/bootstrap/ecere/bootstrap/BTNode.c b/compiler/bootstrap/ecere/bootstrap/BTNode.c index fc96375..89cb676 100644 --- a/compiler/bootstrap/ecere/bootstrap/BTNode.c +++ b/compiler/bootstrap/ecere/bootstrap/BTNode.c @@ -1203,7 +1203,7 @@ printf("Height difference is %d at node %d\n", diffHeight, (int)this->key); if(diffHeight != __ecereProp___ecereNameSpace__ecere__sys__BTNode_Get_balanceFactor(this)) { valid = (unsigned int)0; -printf("Height difference %d doesnt match balance-factor of %d at node %d\n", diffHeight, __ecereProp___ecereNameSpace__ecere__sys__BTNode_Get_balanceFactor(this), (int)this->key); +printf("Height difference %d doesn't match balance-factor of %d at node %d\n", diffHeight, __ecereProp___ecereNameSpace__ecere__sys__BTNode_Get_balanceFactor(this), (int)this->key); } if(this->left && tree->CompareKey(tree, this->left->key, this->key) > 0) { diff --git a/compiler/bootstrap/libec/bootstrap/output.c b/compiler/bootstrap/libec/bootstrap/output.c index 1b072d6..3350584 100644 --- a/compiler/bootstrap/libec/bootstrap/output.c +++ b/compiler/bootstrap/libec/bootstrap/output.c @@ -4670,7 +4670,7 @@ struct __ecereNameSpace__ecere__com__Instance * __internal_ClassInst = f; __internal_ClassInst ? __internal_ClassInst->_vTbl : __ecereClass___ecereNameSpace__ecere__sys__File->_vTbl; })[__ecereVMethodID___ecereNameSpace__ecere__sys__File_Puts]); -__internal_VirtualMethod ? __internal_VirtualMethod(f, "__extension__ (") : (unsigned int)1; +__internal_VirtualMethod ? __internal_VirtualMethod(f, "__extension__ ") : (unsigned int)1; })); (__extension__ ({ unsigned int (* __internal_VirtualMethod)(struct __ecereNameSpace__ecere__com__Instance *, const char * string); diff --git a/compiler/libec/src/output.ec b/compiler/libec/src/output.ec index f26634d..b0f0b23 100644 --- a/compiler/libec/src/output.ec +++ b/compiler/libec/src/output.ec @@ -208,7 +208,7 @@ public void OutputExpression(Expression exp, File f) { Expression expression; if(exp.type == extensionExpressionExp) - f.Puts("__extension__ ("); + f.Puts("__extension__ "); f.Puts("("); if(exp.list) { -- 1.8.3.1