aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/psl-errors.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-11-30 20:55:54 +0100
committerTristan Gingold <tgingold@free.fr>2018-11-30 20:55:54 +0100
commitc3ad2c5690377c47cbc35378f899a430a264bd2f (patch)
tree9b773cfe116576b2f255c10962906924f63341a4 /src/vhdl/psl-errors.ads
parentf93d9815207d55fee98fa74bc30fc27ca5d2af04 (diff)
downloadghdl-c3ad2c5690377c47cbc35378f899a430a264bd2f.tar.gz
ghdl-c3ad2c5690377c47cbc35378f899a430a264bd2f.tar.bz2
ghdl-c3ad2c5690377c47cbc35378f899a430a264bd2f.zip
parse_psl: Add property_to_sequence.
Diffstat (limited to 'src/vhdl/psl-errors.ads')
-rw-r--r--src/vhdl/psl-errors.ads11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/vhdl/psl-errors.ads b/src/vhdl/psl-errors.ads
index 88239a844..16aae7772 100644
--- a/src/vhdl/psl-errors.ads
+++ b/src/vhdl/psl-errors.ads
@@ -1,5 +1,6 @@
+with PSL.Nodes;
with Types; use Types;
-with Errorout;
+with Errorout; use Errorout;
with Files_Map;
package PSL.Errors is
@@ -11,6 +12,14 @@ package PSL.Errors is
procedure Error_Msg_Parse (Msg: String)
renames Errorout.Error_Msg_Parse_1;
+
+ procedure Error_Msg_Parse
+ (Loc : Location_Type; Msg: String; Args : Earg_Arr := No_Eargs)
+ renames Errorout.Error_Msg_Parse;
+
procedure Error_Msg_Sem (Msg: String; Loc: PSL_Node)
renames Errorout.Error_Msg_Sem_1;
+
+ function "+" (N : PSL_Node) return Location_Type
+ renames PSL.Nodes.Get_Location;
end PSL.Errors;