aboutsummaryrefslogtreecommitdiffstats
path: root/src/flags.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-06-13 12:25:01 +0200
committerTristan Gingold <tgingold@free.fr>2020-06-13 16:47:59 +0200
commite0ca8bf0b0d8049c7e9f7fe53f7ed942fac61453 (patch)
treeb4477194e58e9ca5b0c296caa24da39e5a2e845a /src/flags.ads
parent8eb418a695000718920c2ef5294c185a2ef40cca (diff)
downloadghdl-e0ca8bf0b0d8049c7e9f7fe53f7ed942fac61453.tar.gz
ghdl-e0ca8bf0b0d8049c7e9f7fe53f7ed942fac61453.tar.bz2
ghdl-e0ca8bf0b0d8049c7e9f7fe53f7ed942fac61453.zip
vhdl: --std93c is now an alias for --std=93 -frelaxed
This simplifies the definition of --std=93c
Diffstat (limited to 'src/flags.ads')
-rw-r--r--src/flags.ads9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/flags.ads b/src/flags.ads
index b05a830a3..06d6d276a 100644
--- a/src/flags.ads
+++ b/src/flags.ads
@@ -26,10 +26,10 @@ package Flags is
-- List of vhdl standards.
-- VHDL_93c is vhdl_93 with backward compatibility with 87 (file).
type Vhdl_Std_Type is
- (Vhdl_87, Vhdl_93c, Vhdl_93, Vhdl_00, Vhdl_02, Vhdl_08);
+ (Vhdl_87, Vhdl_93, Vhdl_00, Vhdl_02, Vhdl_08);
-- Standard accepted.
- Vhdl_Std: Vhdl_Std_Type := Vhdl_93c;
+ Vhdl_Std: Vhdl_Std_Type := Vhdl_93;
-- Enable AMS-VHDL extensions.
AMS_Vhdl : Boolean := False;
@@ -146,7 +146,10 @@ package Flags is
-- * the scope of an object declaration names start after the declaration,
-- so that it is possible to use the old name in the default expression:
-- constant x : xtype := x;
- Flag_Relaxed_Rules : Boolean := False;
+ Flag_Relaxed_Rules : Boolean := True;
+
+ -- If true allows vhdl-87 file style. Enabled with --std=93c
+ Flag_Relaxed_Files87 : Boolean := True;
-- If true, allow to use synopsys packages (std_logic_arith & co).
Flag_Synopsys : Boolean := False;