File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5353
5454def 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
Original file line number Diff line number Diff line change @@ -23,14 +23,15 @@ with GPR2.Options;
2323
2424package 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")
You can’t perform that action at this time.
0 commit comments