fixed compilation of rest example

This commit is contained in:
Jocelyn Fiat
2011-09-26 20:54:04 +02:00
parent df59ae579b
commit a4df57a7ac
3 changed files with 7 additions and 9 deletions

View File

@@ -23,18 +23,16 @@ feature {NONE} -- Initialization
feature {NONE} -- Implementation
wgi_value_iteration_to_string (cur: ITERATION_CURSOR [WGI_VALUE]; using_pre: BOOLEAN): STRING_8
wgi_value_iteration_to_string (v: ITERABLE [WGI_VALUE]; using_pre: BOOLEAN): STRING_8
do
create Result.make (100)
if using_pre then
Result.append ("<pre>")
end
from
until
cur.after
across
v as cur
loop
Result.append_string (cur.item.name.as_string_8 + " = " + cur.item.as_string.as_string_8 + "%N")
cur.forth
end
if using_pre then
Result.append ("</pre>")