summaryrefslogtreecommitdiff
path: root/libraries/ieee2008
diff options
context:
space:
mode:
authorTristan Gingold2014-07-17 20:34:57 +0200
committerTristan Gingold2014-07-17 20:34:57 +0200
commitcaba1d1b21d9756ede50f40d53fbc816d3b84320 (patch)
treeee0b8459472a8e7aba4ab7465bc46c74be56cd33 /libraries/ieee2008
parent1bc00453a725214de4964add2b7f8423d1a5d2da (diff)
downloadghdl-caba1d1b21d9756ede50f40d53fbc816d3b84320.tar.gz
ghdl-caba1d1b21d9756ede50f40d53fbc816d3b84320.tar.bz2
ghdl-caba1d1b21d9756ede50f40d53fbc816d3b84320.zip
vhdl 2008: visibility, more implicit subprograms, alias...
Use Type_Definition in type_declarator.
Diffstat (limited to 'libraries/ieee2008')
-rw-r--r--libraries/ieee2008/std_logic_1164-body.vhdl3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/ieee2008/std_logic_1164-body.vhdl b/libraries/ieee2008/std_logic_1164-body.vhdl
index 7a9c91d..e5c56de 100644
--- a/libraries/ieee2008/std_logic_1164-body.vhdl
+++ b/libraries/ieee2008/std_logic_1164-body.vhdl
@@ -1108,7 +1108,8 @@ package body std_logic_1164 is
variable c : CHARACTER;
begin
while L /= null and L.all'length /= 0 loop
- if (L.all(1) = ' ' or L.all(1) = NBSP or L.all(1) = HT) then
+ c := l (l'left);
+ if c = ' ' or c = NBSP or c = HT then
read (l, c, readOk);
else
exit;