compiler/libec/output: Fixed mismatched parentheses for __extension__ ( )
authorJerome St-Louis <jerome@ecere.com>
Wed, 13 Jan 2016 10:58:16 +0000 (05:58 -0500)
committerJerome St-Louis <jerome@ecere.com>
Wed, 13 Jan 2016 10:58:16 +0000 (05:58 -0500)
- This was causing the automated Debian build to fail on m68k

compiler/bootstrap/ecere/bootstrap/BTNode.c
compiler/bootstrap/libec/bootstrap/output.c
compiler/libec/src/output.ec

index fc96375..89cb676 100644 (file)
@@ -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)
 {
index 1b072d6..3350584 100644 (file)
@@ -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);
index f26634d..b0f0b23 100644 (file)
@@ -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)
          {