aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/sem_expr.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2014-11-29 10:12:20 +0100
committerTristan Gingold <tgingold@free.fr>2014-11-29 10:12:20 +0100
commit3046834bd44cde0c05ff49eecbd76d3b98401119 (patch)
treea6bf8c0fa0ed1cc35afe257d8ceaa237663c2405 /src/vhdl/sem_expr.adb
parentc79a6fbdf9f0ca556d9f2409f99d59856db79a3d (diff)
downloadghdl-3046834bd44cde0c05ff49eecbd76d3b98401119.tar.gz
ghdl-3046834bd44cde0c05ff49eecbd76d3b98401119.tar.bz2
ghdl-3046834bd44cde0c05ff49eecbd76d3b98401119.zip
Allow -frelaxed-rules for v87 designs
Diffstat (limited to 'src/vhdl/sem_expr.adb')
-rw-r--r--src/vhdl/sem_expr.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/sem_expr.adb b/src/vhdl/sem_expr.adb
index f7af76c09..1fa2a875e 100644
--- a/src/vhdl/sem_expr.adb
+++ b/src/vhdl/sem_expr.adb
@@ -809,7 +809,7 @@ package body Sem_Expr is
-- predefined type INTEGER is assumed if the type of both bounds
-- (prior the implicit conversion) is the type universal_integer.
null;
- elsif Vhdl_Std = Vhdl_93c then
+ elsif Vhdl_Std = Vhdl_93c or else Flag_Relaxed_Rules then
-- GHDL: this is not allowed, however often used:
-- eg: for i in 0 to v'length + 1 loop
-- eg: for i in -1 to 1 loop