compiler/libec: Adding missing comma between attributes in attribute list
authorJerome St-Louis <jerome@ecere.com>
Thu, 9 Jun 2016 18:04:58 +0000 (14:04 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 9 Jun 2016 18:04:58 +0000 (14:04 -0400)
- This was causing errors with GCC 6, as reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811957
- Also updated bootstrap

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

index 3350584..ec51783 100644 (file)
@@ -2009,7 +2009,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, " ") : (unsigned int)1;
+__internal_VirtualMethod ? __internal_VirtualMethod(f, ", ") : (unsigned int)1;
 }));
 OutputAttribute(attrib, f);
 }
index b0f0b23..1d90fd4 100644 (file)
@@ -890,7 +890,7 @@ static void OutputAttrib(Attrib attr, File f)
       Attribute attrib;
       for(attrib = attr.attribs->first; attrib; attrib = attrib.next)
       {
-         if(attrib.prev) f.Puts(" ");
+         if(attrib.prev) f.Puts(", ");
          OutputAttribute(attrib, f);
       }
    }