Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69a5a6c
)
ecere/JSON Parser: Fixed a crash (in a warning printout!) on encountering an unexpect...
author
Jerome St-Louis
<jerome@ecere.com>
Thu, 9 Aug 2012 04:57:10 +0000
(
00:57
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Thu, 9 Aug 2012 04:57:10 +0000
(
00:57
-0400)
ecere/src/sys/JSON.ec
patch
|
blob
|
history
diff --git
a/ecere/src/sys/JSON.ec
b/ecere/src/sys/JSON.ec
index
faf4563
..
f504d8d
100644
(file)
--- a/
ecere/src/sys/JSON.ec
+++ b/
ecere/src/sys/JSON.ec
@@
-240,7
+240,8
@@
public:
{
if(itemResult == typeMismatch)
{
- PrintLn("Warning: Incompatible value for array value, expected ", (String)arrayType.name);
+ if(arrayType)
+ PrintLn("Warning: Incompatible value for array value, expected ", (String)arrayType.name);
}
else if(itemResult == noItem)
result = success;