/usr/share/highlight/langDefs/innosetup.lang is in highlight-common 3.41-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | Description="Inno Setup"
Digits=[[ (?:0x|0X|\$)[0-9a-fA-F]+|\d*[\.\_]?\d+(?:[eE][\-\+]\d+)?[lLuUbfdm]* ]]
Keywords={
{ Id=1,
List={"Compression", "DiskClusterSize", "DiskSliceSize", "DiskSpanning",
"Encryption", "InternalCompressLevel", "MergeDuplicateFiles",
"OutputBaseFilename", "OutputDir", "ReserveBytes", "SlicesPerDisk",
"SolidCompression", "SourceDir", "UseSetupLdr", "VersionInfoCompany",
"VersionInfoDescription", "VersionInfoTextVersion", "VersionInfoVersion",
"AllowCancelDuringInstall", "AllowNoIcons", "AllowRootDirectory",
"AllowUNCPath", "AlwaysRestart", "AlwaysShowComponentsList",
"AlwaysShowDirOnReadyPage", "AlwaysShowGroupOnReadyPage",
"AlwaysUsePersonalGroup", "AppendDefaultDirName", "AppendDefaultGroupName",
"AppComments", "AppContact", "AppId", "AppModifyPath", "AppMutex", "AppName",
"AppPublisher", "AppPublisherURL", "AppReadmeFile", "AppSupportURL",
"AppUpdatesURL", "AppVersion", "AppVerName", "ChangesAssociations",
"CreateAppDir", "CreateUninstallRegKey", "DefaultDirName", "DefaultGroupName",
"DefaultUserInfoName", "DefaultUserInfoOrg", "DefaultUserInfoSerial",
"DirExistsWarning", "DisableDirPage", "DisableFinishedPage",
"DisableProgramGroupPage", "DisableReadyMemo", "DisableReadyPage",
"DisableStartupPrompt", "EnableDirDoesntExistWarning", "ExtraDiskSpaceRequired",
"InfoAfterFile", "InfoBeforeFile", "LanguageDetectionMethod", "LicenseFile",
"MinVersion", "OnlyBelowVersion", "Password", "PrivilegesRequired",
"RestartIfNeededByRun", "ShowLanguageDialog", "TimeStampRounding",
"TimeStampsInUTC", "TouchDate", "TouchTime", "Uninstallable",
"UninstallDisplayIcon", "UninstallDisplayName", "UninstallFilesDir",
"UninstallLogMode", "UninstallRestartComputer", "UpdateUninstallLogAppName",
"UsePreviousAppDir", "UsePreviousGroup", "UsePreviousSetupType",
"UsePreviousTasks", "UsePreviousUserInfo", "UserInfoPage", "AppCopyright",
"BackColor", "BackColor2", "BackColorDirection", "BackSolid",
"FlatComponentsList", "SetupIconFile", "ShowComponentSizes",
"ShowTasksTreeLines", "UninstallStyle", "WindowShowCaption",
"WindowStartMaximized", "WindowResizable", "WindowVisible",
"WizardImageBackColor", "WizardImageFile", "WizardImageStretch",
"WizardSmallImageBackColor", "WizardSmallImageFile", "UninstallIconFile", "",
"cdecl", "class", "const", "constructor", "destructor", "dispid",
"dispinterface", "div", "do", "downto", "dynamic", "else", "end", "except",
"export", "exports", "external", "far", "file", "finalization", "finally",
"for", "forward", "function", "goto", "if", "implementation", "in",
"initialization", "inherited", "inline", "interface", "is", "label", "library",
"message", "mod", "near", "nil", "not", "object", "of", "or", "out", "override",
"packed", "pascal", "private", "procedure", "program", "property", "protected",
"public", "published", "raise", "record", "register", "repeat",
"resourcestring", "safecall", "set", "shl", "shr", "stdcall", "string", "then",
"threadvar", "to", "try", "type", "unit", "until", "uses", "var", "virtual",
"while", "with", "xor"},
},
{ Id=2,
List={"AfterInstall", "Attribs", "BeforeInstall", "Check", "Comment",
"Components", "CopyMode", "Description", "DestDir", "DestName", "Excludes",
"ExtraDiskSpaceRequired", "Filename", "Flags", "FontInstall",
"GroupDescription", "HotKey", "IconFilename", "IconIndex", "InfoBeforeFile",
"InfoAfterFile", "Key", "MessagesFile", "Name", "Parameters", "Permissions",
"Root", "RunOnceId", "Section", "Source", "StatusMsg", "String", "Subkey",
"Tasks", "Type", "Types", "ValueType", "ValueName", "ValueData", "WorkingDir",
"", "true", "false", "cardinal", "longint", "byte", "word", "single", "double",
"int64"},
},
{ Id=3,
List={"allowunsafefiles", "checkedonce", "closeonexit", "compact",
"comparetimestamp", "confirmoverwrite", "createkeyifdoesntexist",
"createonlyiffileexists", "createvalueifdoesntexist", "deleteafterinstall",
"deletekey", "deletevalue", "desktopicon", "dirifempty",
"disablenouninstallwarning", "dontcloseonexit", "dontcopy", "dontcreatekey",
"dontinheritcheck", "dontverifychecksum", "exclusive", "external", "files",
"filesandordirs", "fixed", "fontisnttruetype", "full", "ignoreversion",
"iscustom", "isreadme", "hidden", "hidewizard", "modify", "nocompression",
"noencryption", "noerror", "noregerror", "nowait", "onlyifdestfileexists",
"onlyifdoesntexist", "overwritereadonly", "postinstall", "preservestringtype",
"promptifolder", "quicklaunchicon", "read", "readonly", "readexec",
"recursesubdirs", "regserver", "regtypelib", "replacesameversion", "restart",
"restartreplace", "runhidden", "runmaximized", "runminimized", "sharedfile",
"shellexec", "skipifnotsilent", "skipifsilent", "skipifdoesntexist",
"skipifsourcedoesntexist", "sortfilesbyextension", "system", "touch",
"unchecked", "uninsalwaysuninstall", "uninsclearvalue", "uninsdeleteentry",
"uninsdeletekey", "uninsdeletekeyifempty", "uninsdeletesection",
"uninsdeletesectionifempty", "uninsdeletevalue", "uninsneveruninstall",
"uninsremovereadonly", "uninsrestartdelete", "useapppaths", "waituntilidle"},
},
{ Id=4,
Regex=[[ ^\[\w+\] ]],
},
-- pascal stuff:
{ Id=1,
List= {"absolute", "abstract", "and", "array", "as", "asm", "assembler", "automated", "begin", "case",
"cdecl", "class", "const", "constructor", "destructor", "dispid", "dispinterface", "div", "do", "downto",
"dynamic", "else", "end", "except", "export", "exports", "external", "far", "file", "finalization", "finally",
"for", "forward", "function", "goto", "if", "implementation", "in", "initialization", "inherited", "inline",
"interface", "is", "label", "library", "message", "mod", "near", "nil", "not", "object", "of", "or", "out",
"override", "packed", "pascal", "private", "procedure", "program", "property", "protected", "public", "published",
"raise", "record", "register", "repeat", "resourcestring", "safecall", "set", "shl", "shr", "stdcall", "string",
"then", "threadvar", "to", "try", "type", "unit", "until", "uses", "var", "virtual", "while", "with", "xor" }
},
{ Id=2,
List= {"boolean", "char", "integer", "pointer", "real", "text", "true", "false", "cardinal", "longint", "byte",
"word", "single", "double", "int64" }
},
{ Id=3,
List= { "if", "else", "then", "downto", "do", "for", "repeat", "while", "to", "until", "with"}
},
{ Id=4,
Regex= [[ (\w+)\s*\( ]]
}
}
Strings={
Delimiter=[["|']],
}
IgnoreCase=true
Comments={
{ Block=false,
Delimiter= { "^;" }
},
{ Block=true,
Nested=false,
Delimiter= { [[\{]],[[\}]],}
},
{ Block=true,
Nested=false,
Delimiter= { [[\(\*]],[[\*\)]],}
}
}
Operators=[[\(|\)|\[|\]|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\@|\.|\^]]
|