Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2845f52
)
ecere/src/sys/JSON: Skipping '/'
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 9 Dec 2015 23:13:10 +0000
(18:13 -0500)
committer
Jerome St-Louis
<jerome@ecere.com>
Fri, 29 Apr 2016 16:27:03 +0000
(12:27 -0400)
- Was this an attempt at ignoring comments or behaving better on invalid JSON?
ecere/src/sys/JSON.ec
patch
|
blob
|
history
diff --git
a/ecere/src/sys/JSON.ec
b/ecere/src/sys/JSON.ec
index
e076c82
..
ff4f774
100644
(file)
--- a/
ecere/src/sys/JSON.ec
+++ b/
ecere/src/sys/JSON.ec
@@
-38,7
+38,7
@@
public:
void SkipEmpty()
{
- while(!f.Eof() && (!ch || ch == ' ' || ch == '\n' || ch == '\r' || ch == '\t'))
+ while(!f.Eof() && (!ch || ch == ' ' || ch == '\n' || ch == '\r' || ch == '\t'
|| ch == '/'
))
{
f.Getc(&ch);
}