fix build under newer KConfig by bump cmake min version

This commit is contained in:
2024-09-04 19:01:58 +08:00
parent 727a2ec214
commit 9fb3681e3a
1022 changed files with 4414 additions and 1375 deletions

View File

@ -0,0 +1,11 @@
lexer.*.iss=inno
fold=1
keywords.*.iss=code custommessages files ini messages registry setup
keywords2.*.iss=appname appcopyright onlybelowversion wizardsmallimagefile
keywords3.*.iss=destdir key onlybelowversion root source string valuetype
keywords4.*.iss=define
keywords5.*.iss=\
and begin break case const continue do downto else end except exit \
false finally for function if not of on or procedure repeat then to \
true try type until uses var while with
keywords6.*.iss=

View File

@ -0,0 +1,50 @@
#define app_copyright "Copyright 1999, app corporation"
; comment
[Setup]
AppName=MyApp
AppCopyright={#app_copyright}
WizardSmallImageFile=WizardSmallImageFile.bmp
OnlyBelowVersion=6.01
[Files]
Source: "app.exe"; DestDir: "{tmp}"; OnlyBelowVersion: 6.01
[INI]
Key: "keyname1"; String: "unterminated
Key: 'keyname2'; String: 'unterminated
[Registry]
Root: HKLM; ValueType: string
[CustomMessages]
keyname =Other tasks:'not string
[Messages]
keyname="{#app_copyright}"not string
[Code]
// comment
(* comment *)
{ comment }
{ *) comment }
(* } comment *)
(*
comment *)
{
comment }
function ShouldInstallComCtlUpdate: Boolean;
begin
Result := False;
Log('string');
IsEscaped('''good''', ''bad');
end;

View File

@ -0,0 +1,51 @@
0 400 0 #define app_copyright "Copyright 1999, app corporation"
0 400 0
0 400 0 ; comment
0 400 0
2 400 0 + [Setup]
0 401 0 | AppName=MyApp
0 401 0 | AppCopyright={#app_copyright}
0 401 0 | WizardSmallImageFile=WizardSmallImageFile.bmp
0 401 0 | OnlyBelowVersion=6.01
0 401 0 |
2 400 0 + [Files]
0 401 0 | Source: "app.exe"; DestDir: "{tmp}"; OnlyBelowVersion: 6.01
0 401 0 |
2 400 0 + [INI]
0 401 0 | Key: "keyname1"; String: "unterminated
0 401 0 | Key: 'keyname2'; String: 'unterminated
0 401 0 |
2 400 0 + [Registry]
0 401 0 | Root: HKLM; ValueType: string
0 401 0 |
2 400 0 + [CustomMessages]
0 401 0 | keyname =Other tasks:'not string
0 401 0 |
2 400 0 + [Messages]
0 401 0 | keyname="{#app_copyright}"not string
0 401 0 |
2 400 0 + [Code]
0 401 0 |
0 401 0 | // comment
0 401 0 |
0 401 0 | (* comment *)
0 401 0 |
0 401 0 | { comment }
0 401 0 |
0 401 0 | { *) comment }
0 401 0 |
0 401 0 | (* } comment *)
0 401 0 |
0 401 0 | (*
0 401 0 | comment *)
0 401 0 |
0 401 0 | {
0 401 0 | comment }
0 401 0 |
0 401 0 | function ShouldInstallComCtlUpdate: Boolean;
0 401 0 | begin
0 401 0 | Result := False;
0 401 0 | Log('string');
0 401 0 | IsEscaped('''good''', ''bad');
0 401 0 | end;
0 400 0

View File

@ -0,0 +1,50 @@
{5}#define{0} app_copyright {10}"Copyright 1999, app corporation"{0}
{1}; comment{0}
{4}[Setup]{0}
{2}AppName{0}=MyApp
{2}AppCopyright{0}={6}{#app_copyright}{0}
{2}WizardSmallImageFile{0}=WizardSmallImageFile.bmp
{2}OnlyBelowVersion{0}=6.01
{4}[Files]{0}
{3}Source{0}: {10}"app.exe"{0}; {3}DestDir{0}: {10}"{tmp}"{0}; {3}OnlyBelowVersion{0}: 6.01
{4}[INI]{0}
{3}Key{0}: {10}"keyname1"{0}; {3}String{0}: {10}"unterminated{0}
{3}Key{0}: {11}'keyname2'{0}; {3}String{0}: {11}'unterminated{0}
{4}[Registry]{0}
{3}Root{0}: HKLM; {3}ValueType{0}: string
{4}[CustomMessages]{0}
keyname =Other tasks:'not string
{4}[Messages]{0}
keyname="{6}{#app_copyright}{0}"not string
{4}[Code]{0}
{7}// comment{0}
{7}(* comment *){0}
{7}{ comment }{0}
{7}{ *) comment }{0}
{7}(* } comment *){0}
{7}(*
comment *){0}
{7}{
comment }{0}
{8}function{0} ShouldInstallComCtlUpdate: Boolean;
{8}begin{0}
Result := {8}False{0};
Log({11}'string'{0});
IsEscaped({11}'''good'''{0}, {11}''{0}bad{11}');{0}
{8}end{0};