Skip to content

Commit 346ee24

Browse files
committed
lkql_checker: rename Gnatcheck_Version to Lkql_Checker_Version
1 parent cd4b1db commit 346ee24

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lkql_checker/doc/share/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
def get_version():
5555
for line in open("../../src/lkql_checker-options.ads").readlines():
56-
if line.lstrip().startswith('Gnatcheck_Version'):
56+
if line.lstrip().startswith('Lkql_Checker_Version'):
5757
return line[line.find('"') + 1:line.rfind('"')]
5858
raise Exception("Could not find the current version of GNATcheck")
5959

lkql_checker/src/lkql_checker-options.ads

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ with GPR2.Options;
2323

2424
package Lkql_Checker.Options is
2525

26-
Gnatcheck_Version : constant String := "26.0w";
26+
Lkql_Checker_Version : constant String := "26.0w";
2727
-- Full major.minor version for Gnatcheck
2828

2929
Date : constant String := "unknown date";
3030

3131
Current_Year : constant String := "2025";
3232

33-
Version_String : constant String := Gnatcheck_Version & " (" & Date & ")";
33+
Version_String : constant String :=
34+
Lkql_Checker_Version & " (" & Date & ")";
3435

3536
Executable : constant String := Base_Name (Command_Name);
3637
-- Name of the current executable (e.g. "gnatcheck" or "gnatkp")

0 commit comments

Comments
 (0)