From d940da7b13d563e1f4fb021c02b72fa2f6f6b23d Mon Sep 17 00:00:00 2001 From: berend Date: Wed, 27 Aug 2008 04:29:42 +0000 Subject: [PATCH] SmartEiffel doesn't have is_space. --- json/scanner/json_parser.e | 2 +- json/scanner/json_reader.e | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/json/scanner/json_parser.e b/json/scanner/json_parser.e index d5e67efa..c4dac55c 100644 --- a/json/scanner/json_parser.e +++ b/json/scanner/json_parser.e @@ -381,7 +381,7 @@ feature {NONE} -- Implementation end from until - not actual.is_space or not actual.is_equal ('%R') or + not actual.is_equal (' ') or not actual.is_equal ('%R') or not actual.is_equal ('%U') or not actual.is_equal ('%T') or not actual.is_equal ('%N') or not has_next loop diff --git a/json/scanner/json_reader.e b/json/scanner/json_reader.e index 6d50c934..3fd51fc7 100644 --- a/json/scanner/json_reader.e +++ b/json/scanner/json_reader.e @@ -74,7 +74,7 @@ feature -- Commands -- Remove withe spaces do from - until not actual.is_space or not has_next + until actual /= ' ' or not has_next loop next end