aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/std/textio_body.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/std/textio_body.vhdl')
-rw-r--r--libraries/std/textio_body.vhdl2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/std/textio_body.vhdl b/libraries/std/textio_body.vhdl
index cf81036a9..441e4d79a 100644
--- a/libraries/std/textio_body.vhdl
+++ b/libraries/std/textio_body.vhdl
@@ -463,6 +463,8 @@ package body textio is
if len > 0 and (str (len) = LF or str (len) = CR) then
len := len - 1;
end if;
+ elsif endfile (f) then
+ is_eol := true;
else
is_eol := false;
end if;