Skip to content

Commit 6c84fb2

Browse files
committed
lkql_checker: remove useless references to gnatkp
1 parent 7c7c6e1 commit 6c84fb2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lkql_checker/src/lkql_checker-diagnoses.adb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1922,8 +1922,7 @@ package body Lkql_Checker.Diagnoses is
19221922
is
19231923
Pragma_Name : constant Text_Type := To_Lower (El.F_Id.Text);
19241924
Pragma_Args : constant LAL.Analysis.Base_Assoc_List := El.F_Args;
1925-
Tool_Name : constant Text_Type :=
1926-
(if Mode = Gnatkp_Mode then "gnatkp" else "gnatcheck");
1925+
Tool_Name : constant Text_Type := To_Text (Lkql_Checker_Mode_Image);
19271926
begin
19281927
return
19291928
Pragma_Name in "annotate" | "gnat_annotate"

lkql_checker/src/lkql_checker-output.ads

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ package Lkql_Checker.Output is
1616
procedure Print_Version_Info;
1717
-- Prints into Stderr the tool version information in the following format:
1818
--
19-
-- (gnatcheck|gnatkp) <version> (<date>)
19+
-- <tool> <version> (<date>)
2020
-- Copyright (C) 2004-<current year>, AdaCore.
2121

2222
procedure Report_Unhandled_Exception (Ex : Exception_Occurrence);

0 commit comments

Comments
 (0)