diff options
author | Tristan Gingold | 2014-12-30 16:29:14 +0100 |
---|---|---|
committer | Tristan Gingold | 2014-12-30 16:29:14 +0100 |
commit | dfff5cae5a4b336ba0cf797f4122cfcace474736 (patch) | |
tree | c7fdd9b39a7f2034e499c647213392355da617a4 /src/vhdl/sem_expr.adb | |
parent | 3210520154d762d41aba458b31e68b66f0da235a (diff) | |
download | ghdl-dfff5cae5a4b336ba0cf797f4122cfcace474736.tar.gz ghdl-dfff5cae5a4b336ba0cf797f4122cfcace474736.tar.bz2 ghdl-dfff5cae5a4b336ba0cf797f4122cfcace474736.zip |
Improve error recovery.
Diffstat (limited to 'src/vhdl/sem_expr.adb')
-rw-r--r-- | src/vhdl/sem_expr.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/sem_expr.adb b/src/vhdl/sem_expr.adb index af59a3a..0813a2e 100644 --- a/src/vhdl/sem_expr.adb +++ b/src/vhdl/sem_expr.adb @@ -674,7 +674,7 @@ package body Sem_Expr is Sem_Name (Expr); end if; Res := Name_To_Range (Expr); - if Res = Error_Mark then + if Is_Error (Res) then return Null_Iir; end if; |