Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1faaae
)
compiler/libec/pass15: Fixed broken watches on Array::array
author
Jerome St-Louis
<jerome@ecere.com>
Sat, 22 Oct 2016 18:27:20 +0000
(14:27 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Sat, 22 Oct 2016 18:52:27 +0000
(14:52 -0400)
- Had been broken by
e8319626af9d771518f5c43870eecceb26027fb1
compiler/libec/src/pass15.ec
patch
|
blob
|
history
diff --git
a/compiler/libec/src/pass15.ec
b/compiler/libec/src/pass15.ec
index
1d9cfdd
..
02f65a8
100644
(file)
--- 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);