diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-12-05 18:41:21 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-12-05 18:41:21 +0100 |
commit | 402f082e491d47addb070956f93f78ba6d737acc (patch) | |
tree | e84b545bdcdac7ac62a4fc46bfcd4b7c67de8811 /src/vhdl/parse_psl.adb | |
parent | dbd6431ddbcf8c7c1b882aaf0315860353421a49 (diff) | |
download | ghdl-402f082e491d47addb070956f93f78ba6d737acc.tar.gz ghdl-402f082e491d47addb070956f93f78ba6d737acc.tar.bz2 ghdl-402f082e491d47addb070956f93f78ba6d737acc.zip |
Move Error_Msg_Parse from errorout to parse.
Diffstat (limited to 'src/vhdl/parse_psl.adb')
-rw-r--r-- | src/vhdl/parse_psl.adb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vhdl/parse_psl.adb b/src/vhdl/parse_psl.adb index 4a7a7bc34..9566f2735 100644 --- a/src/vhdl/parse_psl.adb +++ b/src/vhdl/parse_psl.adb @@ -16,6 +16,7 @@ -- Software Foundation, 59 Temple Place - Suite 330, Boston, MA -- 02111-1307, USA. +with Errorout; use Errorout; with PSL.Nodes; use PSL.Nodes; with Iirs; with Scanner; use Scanner; @@ -24,6 +25,17 @@ with PSL.Priorities; use PSL.Priorities; with Parse; package body Parse_Psl is + procedure Error_Msg_Parse (Msg: String) is + begin + Report_Msg (Msgid_Error, Errorout.Parse, No_Location, Msg); + end Error_Msg_Parse; + + procedure Error_Msg_Parse + (Loc : Location_Type; Msg: String; Args : Earg_Arr := No_Eargs) is + begin + Report_Msg (Msgid_Error, Errorout.Parse, Loc, Msg, Args); + end Error_Msg_Parse; + function Create_Node_Loc (K : Nkind) return Node is Res : Node; begin |