From: Jerome St-Louis Date: Thu, 9 Jun 2016 18:04:58 +0000 (-0400) Subject: compiler/libec: Adding missing comma between attributes in attribute list X-Git-Tag: nextshaders~84 X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c4b8a9129d7d4f46aa4a75b102b26b70ebd0aa1;p=sdk compiler/libec: Adding missing comma between attributes in attribute list - This was causing errors with GCC 6, as reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811957 - Also updated bootstrap --- diff --git a/compiler/bootstrap/libec/bootstrap/output.c b/compiler/bootstrap/libec/bootstrap/output.c index 3350584..ec51783 100644 --- a/compiler/bootstrap/libec/bootstrap/output.c +++ b/compiler/bootstrap/libec/bootstrap/output.c @@ -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); } diff --git a/compiler/libec/src/output.ec b/compiler/libec/src/output.ec index b0f0b23..1d90fd4 100644 --- a/compiler/libec/src/output.ec +++ b/compiler/libec/src/output.ec @@ -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); } }