From 1359a1ceae46c37350b1e69b580b750e2df114fa Mon Sep 17 00:00:00 2001 From: jvelilla Date: Fri, 29 Aug 2008 10:49:24 +0000 Subject: [PATCH] Add descriptions. Change in skip_withe_spaces to handle newline %N and carriage Return %R --- json/scanner/json_parser.e | 6 +++--- json/scanner/json_reader.e | 8 ++++---- json/scanner/json_tokens.e | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/json/scanner/json_parser.e b/json/scanner/json_parser.e index c4dac55c..2420e008 100644 --- a/json/scanner/json_parser.e +++ b/json/scanner/json_parser.e @@ -1,9 +1,9 @@ indexing description: "Parse serialized JSON data" - author: "" - date: "$Date$" - revision: "$Revision$" + author: "jvelilla" + date: "2008/08/24" + revision: "Revision 0.1" class diff --git a/json/scanner/json_reader.e b/json/scanner/json_reader.e index 3fd51fc7..bd910c43 100644 --- a/json/scanner/json_reader.e +++ b/json/scanner/json_reader.e @@ -1,9 +1,9 @@ indexing description: "Objects that ..." - author: "" - date: "$Date$" - revision: "$Revision$" + author: "jvelilla" + date: "2008/08/24" + revision: "0.1" class @@ -74,7 +74,7 @@ feature -- Commands -- Remove withe spaces do from - until actual /= ' ' or not has_next + until (actual /= ' ' and actual /= '%N' and actual /= '%R') or not has_next loop next end diff --git a/json/scanner/json_tokens.e b/json/scanner/json_tokens.e index 02e70fd1..f371e4e7 100644 --- a/json/scanner/json_tokens.e +++ b/json/scanner/json_tokens.e @@ -1,8 +1,8 @@ indexing - description: "Objects that ..." - author: "" - date: "$Date$" - revision: "$Revision$" + description: "" + author: "jvelilla" + date: "2008/08/24" + revision: "0.1" class JSON_TOKENS