aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/std/textio_body.vhdl
diff options
context:
space:
mode:
authorgingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2005-12-18 14:46:45 +0000
committergingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2005-12-18 14:46:45 +0000
commitcb45d7c240f4aabbd1dd716dd8bf7ab5b2107ff2 (patch)
treea5162922d12f8508b931c31014370056c35682b3 /libraries/std/textio_body.vhdl
parent4ed054ad8c1877c1bd620014cfe8a36979c5aa54 (diff)
downloadghdl-cb45d7c240f4aabbd1dd716dd8bf7ab5b2107ff2.tar.gz
ghdl-cb45d7c240f4aabbd1dd716dd8bf7ab5b2107ff2.tar.bz2
ghdl-cb45d7c240f4aabbd1dd716dd8bf7ab5b2107ff2.zip
ghdl 0.21 is out
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;