diff options
Diffstat (limited to 'libraries/std/textio_body.vhdl')
-rw-r--r-- | libraries/std/textio_body.vhdl | 2 |
1 files changed, 2 insertions, 0 deletions
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; |