"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/innosetup.lang" (12 May 2020, 7309 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

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