From: Jerome St-Louis Date: Sat, 22 Oct 2016 18:27:20 +0000 (-0400) Subject: compiler/libec/pass15: Fixed broken watches on Array::array X-Git-Url: http://ecere.com/cgi-bin/gitweb.cgi?p=sdk;a=commitdiff_plain;h=f24de951c84266dd4ba32bd769d83b33d3947a9e compiler/libec/pass15: Fixed broken watches on Array::array - Had been broken by e8319626af9d771518f5c43870eecceb26027fb1 --- diff --git a/compiler/libec/src/pass15.ec b/compiler/libec/src/pass15.ec index 1d9cfdd..02f65a8 100644 --- a/compiler/libec/src/pass15.ec +++ b/compiler/libec/src/pass15.ec @@ -10729,6 +10729,8 @@ void ProcessExpressionType(Expression exp) if(exp.expType) exp.expType.refCount++; exp.type = bracketsExp; exp.list = MkListOne(MkExpCast(MkTypeName(specs, MkDeclaratorPointer(MkPointer(null, null), decl)), newExp)); + ((Expression)exp.list->first).expType = exp.expType; + if(exp.expType) exp.expType.refCount++; //FreeType(exp.expType); //exp.expType = null; //ProcessExpressionType(sourceExp);