diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-06 07:18:56 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-06 07:18:56 +0200 |
commit | 89fa9ef3f3d08bcfe11ebfc147ed21fe9bddbc4c (patch) | |
tree | 5eca7a26538f26e348518b5d76460442667d23e2 /src/options.adb | |
parent | 950f6b8c2f18e19885c9188fbab7345930f0b08d (diff) | |
download | ghdl-89fa9ef3f3d08bcfe11ebfc147ed21fe9bddbc4c.tar.gz ghdl-89fa9ef3f3d08bcfe11ebfc147ed21fe9bddbc4c.tar.bz2 ghdl-89fa9ef3f3d08bcfe11ebfc147ed21fe9bddbc4c.zip |
Rework errors handling, to have a more generic framework.
Diffstat (limited to 'src/options.adb')
-rw-r--r-- | src/options.adb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options.adb b/src/options.adb index b8a7ec6ad..3db68ba25 100644 --- a/src/options.adb +++ b/src/options.adb @@ -26,6 +26,7 @@ with PSL.Dump_Tree; with Vhdl.Disp_Tree; with Vhdl.Scanner; with Vhdl.Parse; +with Vhdl.Errors; with Vhdl.Back_End; use Vhdl.Back_End; with Flags; use Flags; with Files_Map; @@ -37,6 +38,7 @@ package body Options is Libraries.Init_Paths; PSL.Nodes.Init; PSL.Dump_Tree.Dump_Hdl_Node := Vhdl.Disp_Tree.Disp_Tree_For_Psl'Access; + Vhdl.Errors.Initialize; end Initialize; function Option_Warning (Opt: String; Val : Boolean) return Option_State is |