From d7ced46df0fc9d93e673395e2db14296290e4491 Mon Sep 17 00:00:00 2001 From: Jerome St-Louis Date: Wed, 9 Dec 2015 18:13:10 -0500 Subject: [PATCH] ecere/src/sys/JSON: Skipping '/' - Was this an attempt at ignoring comments or behaving better on invalid JSON? --- ecere/src/sys/JSON.ec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecere/src/sys/JSON.ec b/ecere/src/sys/JSON.ec index e076c82..ff4f774 100644 --- 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); } -- 1.8.3.1