use item (i) instead [i]

This commit is contained in:
jfiat
2009-08-13 06:32:32 +00:00
parent d4da754a9c
commit ab19cc2b16

View File

@@ -382,14 +382,18 @@ feature {NONE} -- Implementation
local local
i: INTEGER i: INTEGER
do do
if a_unicode.count = 6 and then a_unicode [1] = '\' and then a_unicode [2] = 'u' then if
a_unicode.count = 6 and then
a_unicode.item (1) = '\' and then
a_unicode.item (2) = 'u'
then
from from
Result := True Result := True
i := 3 i := 3
until until
i > 6 i > 6
loop loop
inspect a_unicode [i] inspect a_unicode.item (i)
when '0'..'9', 'a'..'f', 'A'..'F' then when '0'..'9', 'a'..'f', 'A'..'F' then
else else
Result := False Result := False