From cb45d7c240f4aabbd1dd716dd8bf7ab5b2107ff2 Mon Sep 17 00:00:00 2001 From: gingold Date: Sun, 18 Dec 2005 14:46:45 +0000 Subject: ghdl 0.21 is out --- libraries/std/textio_body.vhdl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libraries/std/textio_body.vhdl') diff --git a/libraries/std/textio_body.vhdl b/libraries/std/textio_body.vhdl index cf81036..441e4d7 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; -- cgit