diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-12-23 13:41:39 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-12-23 13:41:39 +0100 |
commit | feb198c93bd936b20d5b3d878080ec4cdf7e480b (patch) | |
tree | b27b263b31de29e77acc6bf271a3776661446637 /src/vhdl/sem.adb | |
parent | 73bb7fd335965c9c6079415ce50fb2059c3e6265 (diff) | |
download | ghdl-feb198c93bd936b20d5b3d878080ec4cdf7e480b.tar.gz ghdl-feb198c93bd936b20d5b3d878080ec4cdf7e480b.tar.bz2 ghdl-feb198c93bd936b20d5b3d878080ec4cdf7e480b.zip |
parse/sem: be more tolerante to parse errors.
Diffstat (limited to 'src/vhdl/sem.adb')
-rw-r--r-- | src/vhdl/sem.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/sem.adb b/src/vhdl/sem.adb index 8729a97e0..190623e9c 100644 --- a/src/vhdl/sem.adb +++ b/src/vhdl/sem.adb @@ -100,7 +100,7 @@ package body Sem is -- Resolve the name. Name := Get_Entity_Name (Library_Unit); - if Name = Null_Iir then + if Is_Error (Name) then pragma Assert (Flags.Flag_Force_Analysis); return Null_Iir; end if; |