From 212268f54c947f4360a7d0e5b45faa97f76a4a9d Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 21 Jun 2014 21:24:15 +0200 Subject: Add psl cover directive (ticket19). --- psl/psl-prints.adb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'psl') diff --git a/psl/psl-prints.adb b/psl/psl-prints.adb index 6e4f37022..80da47dab 100644 --- a/psl/psl-prints.adb +++ b/psl/psl-prints.adb @@ -41,7 +41,8 @@ package body PSL.Prints is return Prio_Seq_And; when N_Imp_Seq | N_Overlap_Imp_Seq - | N_Log_Imp_Prop => + | N_Log_Imp_Prop + | N_Imp_Bool => return Prio_Bool_Imp; when N_Name_Decl | N_Number @@ -153,6 +154,10 @@ package body PSL.Prints is Print_Expr (Get_Left (N), Prio); Put (" || "); Print_Expr (Get_Right (N), Prio); + when N_Imp_Bool => + Print_Expr (Get_Left (N), Prio); + Put (" -> "); + Print_Expr (Get_Right (N), Prio); when others => Error_Kind ("print_expr", N); end case; -- cgit v1.2.3