Support for unicode error message for the ERROR_HANDLER.as_string_representation: STRING_32

and as well for debug_output, this avoid unecessary unicode string truncation.
This commit is contained in:
2014-05-14 10:02:38 +02:00
parent ca6ccc7291
commit 1163b99f39
2 changed files with 5 additions and 5 deletions

View File

@@ -54,9 +54,9 @@ feature -- String representation
feature -- Status report
debug_output: STRING
debug_output: STRING_32
do
Result := string_representation.as_string_8
Result := string_representation
end
feature -- Change
@@ -80,7 +80,7 @@ invariant
name_attached: name /= Void
note
copyright: "2011-2012, Eiffel Software and others"
copyright: "2011-2014, Jocelyn Fiat, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software

View File

@@ -260,7 +260,7 @@ feature -- Access
has_error_implies_result_attached: has_error implies Result /= Void
end
as_string_representation: STRING
as_string_representation: STRING_32
-- String representation of all error(s).
require
has_error
@@ -269,7 +269,7 @@ feature -- Access
Result := e.string_representation
else
check has_error: False end
Result := "Error occured"
Result := {STRING_32} "Error occured"
end
end