aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-parse.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/vhdl-parse.adb')
-rw-r--r--src/vhdl/vhdl-parse.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-parse.adb b/src/vhdl/vhdl-parse.adb
index 95c479a57..1983409a5 100644
--- a/src/vhdl/vhdl-parse.adb
+++ b/src/vhdl/vhdl-parse.adb
@@ -8630,6 +8630,7 @@ package body Vhdl.Parse is
Res : Iir;
begin
Res := Create_Iir (Iir_Kind_Psl_Assume_Directive);
+ Set_Location (Res);
-- Accept PSL tokens
Vhdl.Scanner.Flag_Psl := True;
@@ -9821,6 +9822,8 @@ package body Vhdl.Parse is
case Current_Token is
when Tok_Default =>
Item := Parse_Psl_Default_Clock (True);
+ when Tok_Assume =>
+ Item := Parse_Psl_Assume_Directive (True);
when Tok_Assert =>
Item := Parse_Psl_Assert_Directive (True);
when others =>