Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84d925c
)
compiler:libec: fix for null pointer crash. not sure how to reproduce.
author
Rejean Loyer
<rejean.loyer@gmail.com>
Mon, 17 Oct 2011 19:50:41 +0000
(15:50 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Tue, 18 Oct 2011 15:46:00 +0000
(11:46 -0400)
compiler/libec/src/pass15.ec
patch
|
blob
|
history
diff --git
a/compiler/libec/src/pass15.ec
b/compiler/libec/src/pass15.ec
index
e18c684
..
63be380
100644
(file)
--- a/
compiler/libec/src/pass15.ec
+++ b/
compiler/libec/src/pass15.ec
@@
-11953,7
+11953,7
@@
static void ProcessClass(OldList definitions, Symbol symbol)
Symbol thisSymbol
{
string = CopyString("this");
- type =
MkClassType(regClass.fullName)
;
+ type =
regClass ? MkClassType(regClass.fullName) : null
;
};
propertyWatch.compound.compound.context.symbols.Add((BTNode)thisSymbol);