skylighting-core 0.13.3 → 0.13.4
raw patch · 9 files changed
+745/−33 lines, 9 filesdep ~xml-conduitPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: xml-conduit
API changes (from Hackage documentation)
+ Skylighting.Types: instance GHC.Enum.Bounded Skylighting.Types.TokenType
Files
- changelog.md +14/−1
- skylighting-core.cabal +2/−2
- src/Skylighting/Types.hs +1/−1
- xml/agda.xml +1/−1
- xml/agda.xml.patch +0/−11
- xml/cmake.xml +83/−5
- xml/dosbat.xml +643/−0
- xml/dtd.xml +1/−1
- xml/dtd.xml.patch +0/−11
changelog.md view
@@ -1,5 +1,19 @@ # Revision history for skylighting and skylighting-core +## 0.13.4++ * Add `dosbat` syntax (MS DOS batch file) (#169).++ * Derive `Bounded` Instance for `TokenType` (#168, Pavan Pikhi).+ Add `Bounded` to the derived instances for the `TokenType` type. This+ allows consumers to use `[minBound .. maxBound]` to generate a list of+ all token types when writing a `Style`.++ * Require xml-conduit >= 1.9.1.3. This fixes a bug that prevents+ parsing certain DOCTYPE declarations, e.g. in `agda.xml`.++ * Updated `cmake` syntax definition.+ ## 0.13.3 * Add gap language (#167).@@ -953,4 +967,3 @@ ## 0.1.0.0 -- 2016-12-23 * Initial release-
skylighting-core.cabal view
@@ -1,5 +1,5 @@ name: skylighting-core-version: 0.13.3+version: 0.13.4 synopsis: syntax highlighting library description: Skylighting is a syntax highlighting library. It derives its tokenizers from XML syntax@@ -125,7 +125,7 @@ case-insensitive, attoparsec, utf8-string,- xml-conduit >= 1.9.1.0 && < 1.10,+ xml-conduit >= 1.9.1.3 && < 1.10, safe, base64-bytestring, colour >= 2.0,
src/Skylighting/Types.hs view
@@ -221,7 +221,7 @@ | AlertTok | ErrorTok | NormalTok- deriving (Read, Show, Eq, Ord, Enum, Data, Typeable, Generic)+ deriving (Read, Show, Eq, Ord, Enum, Bounded, Data, Typeable, Generic) instance Binary TokenType
xml/agda.xml view
@@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?>-<!DOCTYPE language [+<!DOCTYPE language[ <!ENTITY charsdelim "_;."(){}@"> <!ENTITY wordsep "(?=[&charsdelim;]|\s|$)"> ]>
− xml/agda.xml.patch
@@ -1,11 +0,0 @@-diff --git a/skylighting-core/xml/agda.xml b/skylighting-core/xml/agda.xml-index 194aae5..e15777b 100644---- a/skylighting-core/xml/agda.xml-+++ b/skylighting-core/xml/agda.xml-@@ -1,5 +1,5 @@- <?xml version="1.0" encoding="UTF-8"?>--<!DOCTYPE language[-+<!DOCTYPE language [- <!ENTITY charsdelim "_;."(){}@">- <!ENTITY wordsep "(?=[&charsdelim;]|\s|$)">- ]>
xml/cmake.xml view
@@ -25,7 +25,7 @@ <language name="CMake"- version="45"+ version="46" kateversion="5.0" section="Other" extensions="CMakeLists.txt;*.cmake;*.cmake.in"@@ -100,6 +100,7 @@ <item>add_test</item> <item>aux_source_directory</item> <item>build_command</item>+ <item>cmake_file_api</item> <item>create_test_sourcelist</item> <item>define_property</item> <item>enable_language</item>@@ -850,6 +851,7 @@ <item>COMMAND_EXPAND_LISTS</item> <item>COMMENT</item> <item>DEPENDS</item>+ <item>DEPENDS_EXPLICIT_ONLY</item> <item>DEPFILE</item> <item>IMPLICIT_DEPENDS</item> <item>JOB_POOL</item>@@ -915,6 +917,14 @@ <item>PARALLEL_LEVEL</item> <item>TARGET</item> </list>+ <list name="cmake_file_api_nargs">+ <item>API_VERSION</item>+ <item>CACHE</item>+ <item>CMAKEFILES</item>+ <item>CODEMODEL</item>+ <item>QUERY</item>+ <item>TOOLCHAINS</item>+ </list> <list name="create_test_sourcelist_nargs"> <item>EXTRA_INCLUDE</item> <item>FUNCTION</item>@@ -1953,6 +1963,7 @@ <list name="doxygen_add_docs_nargs"> <item>ALL</item> <item>COMMENT</item>+ <item>CONFIG_FILE</item> <item>USE_STAMP_FILE</item> <item>WORKING_DIRECTORY</item> </list>@@ -2088,6 +2099,7 @@ <item>CABLE_INCLUDE_DIR</item> <item>CABLE_TCL_LIBRARY</item> <item>CMAKE_ABSOLUTE_DESTINATION_FILES</item>+ <item>CMAKE_ADD_CUSTOM_COMMAND_DEPENDS_EXPLICIT_ONLY</item> <item>CMAKE_AIX_EXPORT_ALL_SYMBOLS</item> <item>CMAKE_ANDROID_ANT_ADDITIONAL_OPTIONS</item> <item>CMAKE_ANDROID_API</item>@@ -2123,15 +2135,19 @@ <item>CMAKE_ARGC</item> <item>CMAKE_AUTOGEN_ORIGIN_DEPENDS</item> <item>CMAKE_AUTOGEN_PARALLEL</item>+ <item>CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE</item> <item>CMAKE_AUTOGEN_VERBOSE</item> <item>CMAKE_AUTOMOC</item> <item>CMAKE_AUTOMOC_DEPEND_FILTERS</item>+ <item>CMAKE_AUTOMOC_EXECUTABLE</item> <item>CMAKE_AUTOMOC_MOC_OPTIONS</item> <item>CMAKE_AUTOMOC_PATH_PREFIX</item> <item>CMAKE_AUTOMOC_RELAXED_MODE</item> <item>CMAKE_AUTORCC</item>+ <item>CMAKE_AUTORCC_EXECUTABLE</item> <item>CMAKE_AUTORCC_OPTIONS</item> <item>CMAKE_AUTOUIC</item>+ <item>CMAKE_AUTOUIC_EXECUTABLE</item> <item>CMAKE_AUTOUIC_OPTIONS</item> <item>CMAKE_AUTOUIC_SEARCH_PATHS</item> <item>CMAKE_BACKWARDS_COMPATIBILITY</item>@@ -2207,6 +2223,7 @@ <item>CMAKE_DEPENDS_IN_PROJECT_ONLY</item> <item>CMAKE_DIRECTORY_LABELS</item> <item>CMAKE_DISABLE_PRECOMPILE_HEADERS</item>+ <item>CMAKE_DLL_NAME_WITH_SOVERSION</item> <item>CMAKE_DL_LIBS</item> <item>CMAKE_DOTNET_SDK</item> <item>CMAKE_DOTNET_TARGET_FRAMEWORK</item>@@ -2217,9 +2234,9 @@ <item>CMAKE_ECLIPSE_RESOURCE_ENCODING</item> <item>CMAKE_ECLIPSE_VERSION</item> <item>CMAKE_EDIT_COMMAND</item>- <item>CMAKE_ENABLE_EXPORTS</item> <item>CMAKE_ERROR_DEPRECATED</item> <item>CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION</item>+ <item>CMAKE_EXECUTABLE_ENABLE_EXPORTS</item> <item>CMAKE_EXECUTABLE_SUFFIX</item> <item>CMAKE_EXECUTE_PROCESS_COMMAND_ECHO</item> <item>CMAKE_EXE_LINKER_FLAGS</item>@@ -2385,6 +2402,7 @@ <item>CMAKE_LIBRARY_PATH_FLAG</item> <item>CMAKE_LINK_DEF_FILE_FLAG</item> <item>CMAKE_LINK_DEPENDS_NO_SHARED</item>+ <item>CMAKE_LINK_DEPENDS_USE_LINKER</item> <item>CMAKE_LINK_DIRECTORIES_BEFORE</item> <item>CMAKE_LINK_INTERFACE_LIBRARIES</item> <item>CMAKE_LINK_LIBRARIES_ONLY_TARGETS</item>@@ -2443,6 +2461,7 @@ <item>CMAKE_PCH_INSTANTIATE_TEMPLATES</item> <item>CMAKE_PCH_WARN_INVALID</item> <item>CMAKE_PDB_OUTPUT_DIRECTORY</item>+ <item>CMAKE_PLATFORM_NO_VERSIONED_SONAME</item> <item>CMAKE_POSITION_INDEPENDENT_CODE</item> <item>CMAKE_PREFIX_PATH</item> <item>CMAKE_PROGRAM_PATH</item>@@ -2467,6 +2486,7 @@ <item>CMAKE_ROOT</item> <item>CMAKE_RUNTIME_OUTPUT_DIRECTORY</item> <item>CMAKE_SCRIPT_MODE_FILE</item>+ <item>CMAKE_SHARED_LIBRARY_ENABLE_EXPORTS</item> <item>CMAKE_SHARED_LIBRARY_PREFIX</item> <item>CMAKE_SHARED_LIBRARY_SUFFIX</item> <item>CMAKE_SHARED_LINKER_FLAGS</item>@@ -2527,6 +2547,10 @@ <item>CMAKE_VERIFY_INTERFACE_HEADER_SETS</item> <item>CMAKE_VERSION</item> <item>CMAKE_VISIBILITY_INLINES_HIDDEN</item>+ <item>CMAKE_VS_DEBUGGER_COMMAND</item>+ <item>CMAKE_VS_DEBUGGER_COMMAND_ARGUMENTS</item>+ <item>CMAKE_VS_DEBUGGER_ENVIRONMENT</item>+ <item>CMAKE_VS_DEBUGGER_WORKING_DIRECTORY</item> <item>CMAKE_VS_DEVENV_COMMAND</item> <item>CMAKE_VS_GLOBALS</item> <item>CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD</item>@@ -2553,6 +2577,7 @@ <item>CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION</item> <item>CMAKE_VS_TARGET_FRAMEWORK_VERSION</item> <item>CMAKE_VS_VERSION_BUILD_NUMBER</item>+ <item>CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION</item> <item>CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION</item> <item>CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM</item> <item>CMAKE_VS_WINRT_BY_DEFAULT</item>@@ -2667,6 +2692,16 @@ <item>CPACK_EXTERNAL_ENABLE_STAGING</item> <item>CPACK_EXTERNAL_PACKAGE_SCRIPT</item> <item>CPACK_EXTERNAL_REQUESTED_VERSIONS</item>+ <item>CPACK_FREEBSD_PACKAGE_CATEGORIES</item>+ <item>CPACK_FREEBSD_PACKAGE_COMMENT</item>+ <item>CPACK_FREEBSD_PACKAGE_DEPS</item>+ <item>CPACK_FREEBSD_PACKAGE_DESCRIPTION</item>+ <item>CPACK_FREEBSD_PACKAGE_LICENSE</item>+ <item>CPACK_FREEBSD_PACKAGE_LICENSE_LOGIC</item>+ <item>CPACK_FREEBSD_PACKAGE_MAINTAINER</item>+ <item>CPACK_FREEBSD_PACKAGE_NAME</item>+ <item>CPACK_FREEBSD_PACKAGE_ORIGIN</item>+ <item>CPACK_FREEBSD_PACKAGE_WWW</item> <item>CPACK_GENERATOR</item> <item>CPACK_IFW_ADMIN_TARGET_DIRECTORY</item> <item>CPACK_IFW_ARCHIVE_COMPRESSION</item>@@ -2715,6 +2750,26 @@ <item>CPACK_IFW_TARGET_DIRECTORY</item> <item>CPACK_IFW_VERBOSE</item> <item>CPACK_INCLUDE_TOPLEVEL_DIRECTORY</item>+ <item>CPACK_INNOSETUP_ALLOW_CUSTOM_DIRECTORY</item>+ <item>CPACK_INNOSETUP_ARCHITECTURE</item>+ <item>CPACK_INNOSETUP_CODE_FILES</item>+ <item>CPACK_INNOSETUP_CREATE_UNINSTALL_LINK</item>+ <item>CPACK_INNOSETUP_CUSTOM_INSTALL_INSTRUCTIONS</item>+ <item>CPACK_INNOSETUP_EXECUTABLE</item>+ <item>CPACK_INNOSETUP_EXECUTABLE_ARGUMENTS</item>+ <item>CPACK_INNOSETUP_EXTRA_SCRIPTS</item>+ <item>CPACK_INNOSETUP_ICON_FILE</item>+ <item>CPACK_INNOSETUP_IGNORE_LICENSE_PAGE</item>+ <item>CPACK_INNOSETUP_IGNORE_README_PAGE</item>+ <item>CPACK_INNOSETUP_INSTALL_ROOT</item>+ <item>CPACK_INNOSETUP_LANGUAGES</item>+ <item>CPACK_INNOSETUP_MENU_LINKS</item>+ <item>CPACK_INNOSETUP_PASSWORD</item>+ <item>CPACK_INNOSETUP_PROGRAM_MENU_FOLDER</item>+ <item>CPACK_INNOSETUP_RUN_EXECUTABLES</item>+ <item>CPACK_INNOSETUP_USE_CMAKE_BOOL_FORMAT</item>+ <item>CPACK_INNOSETUP_USE_MODERN_WIZARD</item>+ <item>CPACK_INNOSETUP_VERIFY_DOWNLOADS</item> <item>CPACK_INSTALLED_DIRECTORIES</item> <item>CPACK_INSTALL_CMAKE_PROJECTS</item> <item>CPACK_INSTALL_COMMANDS</item>@@ -3448,6 +3503,7 @@ </list> <list name="deprecated-or-internal-variables">+ <item>CMAKE_ENABLE_EXPORTS</item> <item>CMAKE_FILES_DIRECTORY</item> <item>CMAKE_HOME_DIRECTORY</item> <item>CMAKE_INTERNAL_PLATFORM_ABI</item>@@ -3627,6 +3683,7 @@ <item>AUTOGEN_BUILD_DIR</item> <item>AUTOGEN_ORIGIN_DEPENDS</item> <item>AUTOGEN_TARGET_DEPENDS</item>+ <item>AUTOGEN_USE_SYSTEM_INCLUDE</item> <item>AUTOMOC</item> <item>AUTOMOC_COMPILER_PREDEFINES</item> <item>AUTOMOC_DEPEND_FILTERS</item>@@ -3662,7 +3719,10 @@ <item>COMPILE_WARNING_AS_ERROR</item> <item>CROSSCOMPILING_EMULATOR</item> <item>CUDA_ARCHITECTURES</item>+ <item>CUDA_CUBIN_COMPILATION</item> <item>CUDA_EXTENSIONS</item>+ <item>CUDA_FATBIN_COMPILATION</item>+ <item>CUDA_OPTIX_COMPILATION</item> <item>CUDA_PTX_COMPILATION</item> <item>CUDA_RESOLVE_DEVICE_SYMBOLS</item> <item>CUDA_RUNTIME_LIBRARY</item>@@ -3680,6 +3740,7 @@ <item>DEPLOYMENT_REMOTE_DIRECTORY</item> <item>DEPRECATION</item> <item>DISABLE_PRECOMPILE_HEADERS</item>+ <item>DLL_NAME_WITH_SOVERSION</item> <item>DOTNET_SDK</item> <item>DOTNET_TARGET_FRAMEWORK</item> <item>DOTNET_TARGET_FRAMEWORK_VERSION</item>@@ -3730,6 +3791,7 @@ <item>INSTALL_REMOVE_ENVIRONMENT_RPATH</item> <item>INSTALL_RPATH</item> <item>INSTALL_RPATH_USE_LINK_PATH</item>+ <item>INTERFACE_AUTOMOC_MACRO_NAMES</item> <item>INTERFACE_AUTOUIC_OPTIONS</item> <item>INTERFACE_COMPILE_DEFINITIONS</item> <item>INTERFACE_COMPILE_FEATURES</item>@@ -3928,6 +3990,7 @@ <item>SKIP_AUTOMOC</item> <item>SKIP_AUTORCC</item> <item>SKIP_AUTOUIC</item>+ <item>SKIP_LINTING</item> <item>SKIP_PRECOMPILE_HEADERS</item> <item>SKIP_UNITY_BUILD_INCLUSION</item> <item>SYMBOLIC</item>@@ -3979,6 +4042,8 @@ <item>SKIP_RETURN_CODE</item> <item>TIMEOUT</item> <item>TIMEOUT_AFTER_MATCH</item>+ <item>TIMEOUT_SIGNAL_GRACE_PERIOD</item>+ <item>TIMEOUT_SIGNAL_NAME</item> <item>WILL_FAIL</item> <item>WORKING_DIRECTORY</item> </list>@@ -4018,6 +4083,7 @@ <item>UPPER_CASE</item> <item>MAKE_C_IDENTIFIER</item> <item>IN_LIST</item>+ <item>LIST</item> <item>JOIN</item> <item>REMOVE_DUPLICATES</item> <item>FILTER</item>@@ -4047,6 +4113,7 @@ <item>COMPILE_LANGUAGE</item> <item>COMPILE_LANG_AND_ID</item> <item>COMPILE_FEATURES</item>+ <item>COMPILE_ONLY</item> <item>LINK_LANGUAGE</item> <item>LINK_LANG_AND_ID</item> <item>LINK_LIBRARY</item>@@ -4149,7 +4216,6 @@ <item>CTestCoverageCollectGCOV</item> <item>CTestScriptMode</item> <item>CTestUseLaunchers</item>- <item>Dart</item> <item>DeployQt4</item> <item>ExternalData</item> <item>ExternalProject</item>@@ -4194,7 +4260,6 @@ <item>CVS</item> <item>CxxTest</item> <item>Cygwin</item>- <item>Dart</item> <item>DCMTK</item> <item>DevIL</item> <item>Doxygen</item>@@ -4337,6 +4402,7 @@ <item>CMakeExpandImportedTargets</item> <item>CMakeForceCompiler</item> <item>CMakeParseArguments</item>+ <item>Dart</item> <item>Documentation</item> <item>MacroAddFileDependencies</item> <item>TestCXXAcceptsFlag</item>@@ -4347,6 +4413,7 @@ <item>WriteBasicConfigVersionFile</item> <item>WriteCompilerDetectionHeader</item> <item>FindCUDA</item>+ <item>FindDart</item> <item>FindPythonInterp</item> <item>FindPythonLibs</item> <item>FindQt</item>@@ -4455,6 +4522,7 @@ <WordDetect String="add_test" insensitive="true" attribute="Command" context="add_test_ctx"/> <WordDetect String="aux_source_directory" insensitive="true" attribute="Command" context="function_ctx"/> <WordDetect String="build_command" insensitive="true" attribute="Command" context="build_command_ctx"/>+ <WordDetect String="cmake_file_api" insensitive="true" attribute="Command" context="cmake_file_api_ctx"/> <WordDetect String="create_test_sourcelist" insensitive="true" attribute="Command" context="create_test_sourcelist_ctx"/> <WordDetect String="define_property" insensitive="true" attribute="Command" context="define_property_ctx"/> <WordDetect String="enable_language" insensitive="true" attribute="Command" context="enable_language_ctx"/>@@ -5250,6 +5318,16 @@ <keyword attribute="Named Args" context="#stay" String="build_command_nargs"/> <IncludeRules context="User Function Args"/> </context>+ <context attribute="Normal Text" lineEndContext="#stay" name="cmake_file_api_ctx">+ <DetectChar attribute="Normal Text" context="cmake_file_api_ctx_op" char="("/>+ <DetectChar attribute="Normal Text" context="#pop" char=")"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#stay" name="cmake_file_api_ctx_op">+ <DetectSpaces/>+ <DetectChar attribute="Normal Text" context="#pop" char=")" lookAhead="true"/>+ <keyword attribute="Named Args" context="#stay" String="cmake_file_api_nargs"/>+ <IncludeRules context="User Function Args"/>+ </context> <context attribute="Normal Text" lineEndContext="#stay" name="create_test_sourcelist_ctx"> <DetectChar attribute="Normal Text" context="create_test_sourcelist_ctx_op" char="("/> <DetectChar attribute="Normal Text" context="#pop" char=")"/>@@ -6433,7 +6511,7 @@ <context attribute="Normal Text" lineEndContext="#stay" name="Detect More Builtin Variables"> <RegExpr attribute="CMake Internal Variable" context="#stay" String="\b(?:CMAKE_&var_ref_re;_PLATFORM_ID|CMAKE_&var_ref_re;_COMPILER_VERSION_INTERNAL|CMAKE_&var_ref_re;_COMPILER_ARCHITECTURE_ID|CMAKE_&var_ref_re;_COMPILER_ABI)\b"/>- <RegExpr attribute="Builtin Variable" context="#stay" String="\b(?:SWIG_MODULE_&var_ref_re;_EXTRA_DEPS|OpenMP_&var_ref_re;_SPEC_DATE|OpenMP_&var_ref_re;_LIB_NAMES|OpenMP_&var_ref_re;_LIBRARY|OpenMP_&var_ref_re;_FLAGS|OpenACC_&var_ref_re;_SPEC_DATE|OpenACC_&var_ref_re;_OPTIONS|OpenACC_&var_ref_re;_FLAGS|MPI_&var_ref_re;_LIB_NAMES|MPI_&var_ref_re;_LIBRARY|MPI_&var_ref_re;_COMPILE_OPTIONS|MPI_&var_ref_re;_COMPILE_DEFINITIONS|MPI_&var_ref_re;_COMPILER|MPI_&var_ref_re;_ADDITIONAL_INCLUDE_VARS|ICU_&var_ref_re;_LIBRARY|ICU_&var_ref_re;_EXECUTABLE|FETCHCONTENT_UPDATES_DISCONNECTED_&var_ref_re;|FETCHCONTENT_SOURCE_DIR_&var_ref_re;|ExternalData_URL_ALGO_&var_ref_re;_&var_ref_re;|ExternalData_CUSTOM_SCRIPT_&var_ref_re;|DOXYGEN_&var_ref_re;|CPACK_WIX_PROPERTY_&var_ref_re;|CPACK_WIX_&var_ref_re;_EXTRA_FLAGS|CPACK_WIX_&var_ref_re;_EXTENSIONS|CPACK_RPM_NO_&var_ref_re;_INSTALL_PREFIX_RELOCATION|CPACK_RPM_&var_ref_re;_USER_FILELIST|CPACK_RPM_&var_ref_re;_USER_BINARY_SPECFILE|CPACK_RPM_&var_ref_re;_PACKAGE_URL|CPACK_RPM_&var_ref_re;_PACKAGE_SUMMARY|CPACK_RPM_&var_ref_re;_PACKAGE_SUGGESTS|CPACK_RPM_&var_ref_re;_PACKAGE_REQUIRES_PREUN|CPACK_RPM_&var_ref_re;_PACKAGE_REQUIRES_PRE|CPACK_RPM_&var_ref_re;_PACKAGE_REQUIRES_POSTUN|CPACK_RPM_&var_ref_re;_PACKAGE_REQUIRES_POST|CPACK_RPM_&var_ref_re;_PACKAGE_REQUIRES|CPACK_RPM_&var_ref_re;_PACKAGE_PROVIDES|CPACK_RPM_&var_ref_re;_PACKAGE_PREFIX|CPACK_RPM_&var_ref_re;_PACKAGE_OBSOLETES|CPACK_RPM_&var_ref_re;_PACKAGE_NAME|CPACK_RPM_&var_ref_re;_PACKAGE_GROUP|CPACK_RPM_&var_ref_re;_PACKAGE_DESCRIPTION|CPACK_RPM_&var_ref_re;_PACKAGE_CONFLICTS|CPACK_RPM_&var_ref_re;_PACKAGE_AUTOREQPROV|CPACK_RPM_&var_ref_re;_PACKAGE_AUTOREQ|CPACK_RPM_&var_ref_re;_PACKAGE_AUTOPROV|CPACK_RPM_&var_ref_re;_PACKAGE_ARCHITECTURE|CPACK_RPM_&var_ref_re;_FILE_NAME|CPACK_RPM_&var_ref_re;_DEFAULT_USER|CPACK_RPM_&var_ref_re;_DEFAULT_GROUP|CPACK_RPM_&var_ref_re;_DEFAULT_FILE_PERMISSIONS|CPACK_RPM_&var_ref_re;_DEFAULT_DIR_PERMISSIONS|CPACK_RPM_&var_ref_re;_DEBUGINFO_PACKAGE|CPACK_RPM_&var_ref_re;_DEBUGINFO_FILE_NAME|CPACK_RPM_&var_ref_re;_BUILD_SOURCE_DIRS_PREFIX|CPACK_PREFLIGHT_&var_ref_re;_SCRIPT|CPACK_POSTFLIGHT_&var_ref_re;_SCRIPT|CPACK_NUGET_PACKAGE_DEPENDENCIES_&var_ref_re;_VERSION|CPACK_NUGET_&var_ref_re;_PACKAGE_VERSION|CPACK_NUGET_&var_ref_re;_PACKAGE_TITLE|CPACK_NUGET_&var_ref_re;_PACKAGE_TAGS|CPACK_NUGET_&var_ref_re;_PACKAGE_RELEASE_NOTES|CPACK_NUGET_&var_ref_re;_PACKAGE_OWNERS|CPACK_NUGET_&var_ref_re;_PACKAGE_NAME|CPACK_NUGET_&var_ref_re;_PACKAGE_LICENSE_FILE_NAME|CPACK_NUGET_&var_ref_re;_PACKAGE_LICENSE_EXPRESSION|CPACK_NUGET_&var_ref_re;_PACKAGE_LICENSEURL|CPACK_NUGET_&var_ref_re;_PACKAGE_LANGUAGE|CPACK_NUGET_&var_ref_re;_PACKAGE_ICONURL|CPACK_NUGET_&var_ref_re;_PACKAGE_ICON|CPACK_NUGET_&var_ref_re;_PACKAGE_HOMEPAGE_URL|CPACK_NUGET_&var_ref_re;_PACKAGE_DESCRIPTION_SUMMARY|CPACK_NUGET_&var_ref_re;_PACKAGE_DESCRIPTION|CPACK_NUGET_&var_ref_re;_PACKAGE_DEPENDENCIES_&var_ref_re;_VERSION|CPACK_NUGET_&var_ref_re;_PACKAGE_DEPENDENCIES|CPACK_NUGET_&var_ref_re;_PACKAGE_COPYRIGHT|CPACK_NUGET_&var_ref_re;_PACKAGE_AUTHORS|CPACK_NSIS_&var_ref_re;_INSTALL_DIRECTORY|CPACK_DMG_&var_ref_re;_FILE_NAME|CPACK_DEBIAN_&var_ref_re;_PACKAGE_SUGGESTS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_SOURCE|CPACK_DEBIAN_&var_ref_re;_PACKAGE_SHLIBDEPS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_SECTION|CPACK_DEBIAN_&var_ref_re;_PACKAGE_REPLACES|CPACK_DEBIAN_&var_ref_re;_PACKAGE_RECOMMENDS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_PROVIDES|CPACK_DEBIAN_&var_ref_re;_PACKAGE_PRIORITY|CPACK_DEBIAN_&var_ref_re;_PACKAGE_PREDEPENDS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_NAME|CPACK_DEBIAN_&var_ref_re;_PACKAGE_ENHANCES|CPACK_DEBIAN_&var_ref_re;_PACKAGE_DEPENDS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_CONTROL_STRICT_PERMISSION|CPACK_DEBIAN_&var_ref_re;_PACKAGE_CONTROL_EXTRA|CPACK_DEBIAN_&var_ref_re;_PACKAGE_CONFLICTS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_BREAKS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_ARCHITECTURE|CPACK_DEBIAN_&var_ref_re;_FILE_NAME|CPACK_DEBIAN_&var_ref_re;_DESCRIPTION|CPACK_DEBIAN_&var_ref_re;_DEBUGINFO_PACKAGE|CPACK_COMPONENT_&var_ref_re;_REQUIRED|CPACK_COMPONENT_&var_ref_re;_HIDDEN|CPACK_COMPONENT_&var_ref_re;_GROUP|CPACK_COMPONENT_&var_ref_re;_DISPLAY_NAME|CPACK_COMPONENT_&var_ref_re;_DISABLED|CPACK_COMPONENT_&var_ref_re;_DESCRIPTION|CPACK_COMPONENT_&var_ref_re;_DEPENDS|CPACK_BINARY_&var_ref_re;|CPACK_ARCHIVE_&var_ref_re;_FILE_NAME|CPACK_&var_ref_re;_COMPONENT_INSTALL|CMAKE_XCODE_ATTRIBUTE_&var_ref_re;|CMAKE_USER_MAKE_RULES_OVERRIDE_&var_ref_re;|CMAKE_STATIC_LINKER_FLAGS_&var_ref_re;_INIT|CMAKE_STATIC_LINKER_FLAGS_&var_ref_re;|CMAKE_SHARED_LINKER_FLAGS_&var_ref_re;_INIT|CMAKE_SHARED_LINKER_FLAGS_&var_ref_re;|CMAKE_RUNTIME_OUTPUT_DIRECTORY_&var_ref_re;|CMAKE_REQUIRE_FIND_PACKAGE_&var_ref_re;|CMAKE_PROJECT_&var_ref_re;_INCLUDE_BEFORE|CMAKE_PROJECT_&var_ref_re;_INCLUDE|CMAKE_POLICY_WARNING_CMP[0-9]{4}|CMAKE_POLICY_DEFAULT_CMP[0-9]{4}|CMAKE_PDB_OUTPUT_DIRECTORY_&var_ref_re;|CMAKE_MODULE_LINKER_FLAGS_&var_ref_re;_INIT|CMAKE_MODULE_LINKER_FLAGS_&var_ref_re;|CMAKE_MATCH_[0-9]+|CMAKE_MAP_IMPORTED_CONFIG_&var_ref_re;|CMAKE_LINK_LIBRARY_USING_&var_ref_re;_SUPPORTED|CMAKE_LINK_LIBRARY_USING_&var_ref_re;|CMAKE_LIBRARY_OUTPUT_DIRECTORY_&var_ref_re;|CMAKE_INTERPROCEDURAL_OPTIMIZATION_&var_ref_re;|CMAKE_GET_OS_RELEASE_FALLBACK_RESULT_&var_ref_re;|CMAKE_FRAMEWORK_MULTI_CONFIG_POSTFIX_&var_ref_re;|CMAKE_EXE_LINKER_FLAGS_&var_ref_re;_INIT|CMAKE_EXE_LINKER_FLAGS_&var_ref_re;|CMAKE_DISABLE_FIND_PACKAGE_&var_ref_re;|CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY_&var_ref_re;|CMAKE_ARGV[0-9]+|CMAKE_ARCHIVE_OUTPUT_DIRECTORY_&var_ref_re;|CMAKE_&var_ref_re;_VISIBILITY_PRESET|CMAKE_&var_ref_re;_STANDARD_LIBRARIES|CMAKE_&var_ref_re;_STANDARD_INCLUDE_DIRECTORIES|CMAKE_&var_ref_re;_SOURCE_FILE_EXTENSIONS|CMAKE_&var_ref_re;_SIZEOF_DATA_PTR|CMAKE_&var_ref_re;_SIMULATE_VERSION|CMAKE_&var_ref_re;_SIMULATE_ID|CMAKE_&var_ref_re;_POSTFIX|CMAKE_&var_ref_re;_OUTPUT_EXTENSION|CMAKE_&var_ref_re;_LINK_WHAT_YOU_USE_FLAG|CMAKE_&var_ref_re;_LINK_LIBRARY_USING_&var_ref_re;_SUPPORTED|CMAKE_&var_ref_re;_LINK_LIBRARY_USING_&var_ref_re;|CMAKE_&var_ref_re;_LINK_LIBRARY_FLAG|CMAKE_&var_ref_re;_LINK_LIBRARY_FILE_FLAG|CMAKE_&var_ref_re;_LINK_GROUP_USING_&var_ref_re;_SUPPORTED|CMAKE_&var_ref_re;_LINK_GROUP_USING_&var_ref_re;|CMAKE_&var_ref_re;_LINK_EXECUTABLE|CMAKE_&var_ref_re;_LINKER_WRAPPER_FLAG_SEP|CMAKE_&var_ref_re;_LINKER_WRAPPER_FLAG|CMAKE_&var_ref_re;_LINKER_PREFERENCE_PROPAGATES|CMAKE_&var_ref_re;_LINKER_PREFERENCE|CMAKE_&var_ref_re;_LINKER_LAUNCHER|CMAKE_&var_ref_re;_LIBRARY_ARCHITECTURE|CMAKE_&var_ref_re;_INCLUDE_WHAT_YOU_USE|CMAKE_&var_ref_re;_IMPLICIT_LINK_LIBRARIES|CMAKE_&var_ref_re;_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES|CMAKE_&var_ref_re;_IMPLICIT_LINK_DIRECTORIES|CMAKE_&var_ref_re;_IMPLICIT_INCLUDE_DIRECTORIES|CMAKE_&var_ref_re;_IGNORE_EXTENSIONS|CMAKE_&var_ref_re;_GHS_KERNEL_FLAGS_RELWITHDEBINFO|CMAKE_&var_ref_re;_GHS_KERNEL_FLAGS_RELEASE|CMAKE_&var_ref_re;_GHS_KERNEL_FLAGS_MINSIZEREL|CMAKE_&var_ref_re;_GHS_KERNEL_FLAGS_DEBUG|CMAKE_&var_ref_re;_FLAGS_RELWITHDEBINFO_INIT|CMAKE_&var_ref_re;_FLAGS_RELWITHDEBINFO|CMAKE_&var_ref_re;_FLAGS_RELEASE_INIT|CMAKE_&var_ref_re;_FLAGS_RELEASE|CMAKE_&var_ref_re;_FLAGS_MINSIZEREL_INIT|CMAKE_&var_ref_re;_FLAGS_MINSIZEREL|CMAKE_&var_ref_re;_FLAGS_INIT|CMAKE_&var_ref_re;_FLAGS_DEBUG_INIT|CMAKE_&var_ref_re;_FLAGS_DEBUG|CMAKE_&var_ref_re;_FLAGS_&var_ref_re;_INIT|CMAKE_&var_ref_re;_FLAGS_&var_ref_re;|CMAKE_&var_ref_re;_FLAGS|CMAKE_&var_ref_re;_EXTENSIONS_DEFAULT|CMAKE_&var_ref_re;_EXTENSIONS|CMAKE_&var_ref_re;_CREATE_STATIC_LIBRARY|CMAKE_&var_ref_re;_CREATE_SHARED_MODULE|CMAKE_&var_ref_re;_CREATE_SHARED_LIBRARY|CMAKE_&var_ref_re;_CPPLINT|CMAKE_&var_ref_re;_CPPCHECK|CMAKE_&var_ref_re;_COMPILE_OBJECT|CMAKE_&var_ref_re;_COMPILER_VERSION|CMAKE_&var_ref_re;_COMPILER_TARGET|CMAKE_&var_ref_re;_COMPILER_RANLIB|CMAKE_&var_ref_re;_COMPILER_LOADED|CMAKE_&var_ref_re;_COMPILER_LAUNCHER|CMAKE_&var_ref_re;_COMPILER_ID|CMAKE_&var_ref_re;_COMPILER_FRONTEND_VARIANT|CMAKE_&var_ref_re;_COMPILER_EXTERNAL_TOOLCHAIN|CMAKE_&var_ref_re;_COMPILER_AR|CMAKE_&var_ref_re;_COMPILER|CMAKE_&var_ref_re;_CLANG_TIDY_EXPORT_FIXES_DIR|CMAKE_&var_ref_re;_CLANG_TIDY|CMAKE_&var_ref_re;_BYTE_ORDER|CMAKE_&var_ref_re;_ARCHIVE_FINISH|CMAKE_&var_ref_re;_ARCHIVE_CREATE|CMAKE_&var_ref_re;_ARCHIVE_APPEND|CMAKE_&var_ref_re;_ANDROID_TOOLCHAIN_SUFFIX|CMAKE_&var_ref_re;_ANDROID_TOOLCHAIN_PREFIX|CMAKE_&var_ref_re;_ANDROID_TOOLCHAIN_MACHINE|Boost_&var_ref_re;_LIBRARY_RELEASE|Boost_&var_ref_re;_LIBRARY_DEBUG|Boost_&var_ref_re;_LIBRARY|BISON_&var_ref_re;_OUTPUT_SOURCE|BISON_&var_ref_re;_OUTPUT_HEADER|BISON_&var_ref_re;_OUTPUTS|BISON_&var_ref_re;_INPUT|BISON_&var_ref_re;_DEFINED|BISON_&var_ref_re;_COMPILE_FLAGS|ARGV[0-9]+|&var_ref_re;__TRYRUN_OUTPUT|&var_ref_re;_VERSION_TWEAK|&var_ref_re;_VERSION_STRING|&var_ref_re;_VERSION_PATCH|&var_ref_re;_VERSION_MINOR|&var_ref_re;_VERSION_MAJOR|&var_ref_re;_VERSION_COUNT|&var_ref_re;_VERSION|&var_ref_re;_UNPARSED_ARGUMENTS|&var_ref_re;_STATIC_LINK_LIBRARIES|&var_ref_re;_SOURCE_DIR|&var_ref_re;_ROOT|&var_ref_re;_MODULE_NAME|&var_ref_re;_LINK_LIBRARIES|&var_ref_re;_LIBRARY_DIRS|&var_ref_re;_LIBRARIES|&var_ref_re;_LDFLAGS_OTHER|&var_ref_re;_LDFLAGS|&var_ref_re;_KEYWORDS_MISSING_VALUES|&var_ref_re;_IS_TOP_LEVEL|&var_ref_re;_INCLUDE_DIRS|&var_ref_re;_HOMEPAGE_URL|&var_ref_re;_FOUND|&var_ref_re;_FIND_VERSION_RANGE_MIN|&var_ref_re;_FIND_VERSION_RANGE_MAX|&var_ref_re;_FIND_VERSION_RANGE|&var_ref_re;_FIND_VERSION_MIN_TWEAK|&var_ref_re;_FIND_VERSION_MIN_PATCH|&var_ref_re;_FIND_VERSION_MIN_MINOR|&var_ref_re;_FIND_VERSION_MIN_MAJOR|&var_ref_re;_FIND_VERSION_MIN_COUNT|&var_ref_re;_FIND_VERSION_MIN|&var_ref_re;_FIND_VERSION_MAX_TWEAK|&var_ref_re;_FIND_VERSION_MAX_PATCH|&var_ref_re;_FIND_VERSION_MAX_MINOR|&var_ref_re;_FIND_VERSION_MAX_MAJOR|&var_ref_re;_FIND_VERSION_MAX_COUNT|&var_ref_re;_FIND_VERSION_MAX|&var_ref_re;_FIND_VERSION_EXACT|&var_ref_re;_FIND_VERSION_COUNT|&var_ref_re;_FIND_VERSION_COMPLETE|&var_ref_re;_FIND_REQUIRED_&var_ref_re;|&var_ref_re;_FIND_REQUIRED|&var_ref_re;_FIND_QUIETLY|&var_ref_re;_FIND_COMPONENTS|&var_ref_re;_DESCRIPTION|&var_ref_re;_CONSIDERED_VERSIONS|&var_ref_re;_CONSIDERED_CONFIGS|&var_ref_re;_CONFIG|&var_ref_re;_CFLAGS_OTHER|&var_ref_re;_CFLAGS|&var_ref_re;_BINARY_DIR)\b"/>+ <RegExpr attribute="Builtin Variable" context="#stay" String="\b(?:SWIG_MODULE_&var_ref_re;_EXTRA_DEPS|OpenMP_&var_ref_re;_SPEC_DATE|OpenMP_&var_ref_re;_LIB_NAMES|OpenMP_&var_ref_re;_LIBRARY|OpenMP_&var_ref_re;_FLAGS|OpenACC_&var_ref_re;_SPEC_DATE|OpenACC_&var_ref_re;_OPTIONS|OpenACC_&var_ref_re;_FLAGS|MPI_&var_ref_re;_LIB_NAMES|MPI_&var_ref_re;_LIBRARY|MPI_&var_ref_re;_COMPILE_OPTIONS|MPI_&var_ref_re;_COMPILE_DEFINITIONS|MPI_&var_ref_re;_COMPILER|MPI_&var_ref_re;_ADDITIONAL_INCLUDE_VARS|ICU_&var_ref_re;_LIBRARY|ICU_&var_ref_re;_EXECUTABLE|FETCHCONTENT_UPDATES_DISCONNECTED_&var_ref_re;|FETCHCONTENT_SOURCE_DIR_&var_ref_re;|ExternalData_URL_ALGO_&var_ref_re;_&var_ref_re;|ExternalData_CUSTOM_SCRIPT_&var_ref_re;|DOXYGEN_&var_ref_re;|CPACK_WIX_PROPERTY_&var_ref_re;|CPACK_WIX_&var_ref_re;_EXTRA_FLAGS|CPACK_WIX_&var_ref_re;_EXTENSIONS|CPACK_RPM_NO_&var_ref_re;_INSTALL_PREFIX_RELOCATION|CPACK_RPM_&var_ref_re;_USER_FILELIST|CPACK_RPM_&var_ref_re;_USER_BINARY_SPECFILE|CPACK_RPM_&var_ref_re;_PACKAGE_URL|CPACK_RPM_&var_ref_re;_PACKAGE_SUMMARY|CPACK_RPM_&var_ref_re;_PACKAGE_SUGGESTS|CPACK_RPM_&var_ref_re;_PACKAGE_REQUIRES_PREUN|CPACK_RPM_&var_ref_re;_PACKAGE_REQUIRES_PRE|CPACK_RPM_&var_ref_re;_PACKAGE_REQUIRES_POSTUN|CPACK_RPM_&var_ref_re;_PACKAGE_REQUIRES_POST|CPACK_RPM_&var_ref_re;_PACKAGE_REQUIRES|CPACK_RPM_&var_ref_re;_PACKAGE_PROVIDES|CPACK_RPM_&var_ref_re;_PACKAGE_PREFIX|CPACK_RPM_&var_ref_re;_PACKAGE_OBSOLETES|CPACK_RPM_&var_ref_re;_PACKAGE_NAME|CPACK_RPM_&var_ref_re;_PACKAGE_GROUP|CPACK_RPM_&var_ref_re;_PACKAGE_DESCRIPTION|CPACK_RPM_&var_ref_re;_PACKAGE_CONFLICTS|CPACK_RPM_&var_ref_re;_PACKAGE_AUTOREQPROV|CPACK_RPM_&var_ref_re;_PACKAGE_AUTOREQ|CPACK_RPM_&var_ref_re;_PACKAGE_AUTOPROV|CPACK_RPM_&var_ref_re;_PACKAGE_ARCHITECTURE|CPACK_RPM_&var_ref_re;_FILE_NAME|CPACK_RPM_&var_ref_re;_DEFAULT_USER|CPACK_RPM_&var_ref_re;_DEFAULT_GROUP|CPACK_RPM_&var_ref_re;_DEFAULT_FILE_PERMISSIONS|CPACK_RPM_&var_ref_re;_DEFAULT_DIR_PERMISSIONS|CPACK_RPM_&var_ref_re;_DEBUGINFO_PACKAGE|CPACK_RPM_&var_ref_re;_DEBUGINFO_FILE_NAME|CPACK_RPM_&var_ref_re;_BUILD_SOURCE_DIRS_PREFIX|CPACK_PREFLIGHT_&var_ref_re;_SCRIPT|CPACK_POSTFLIGHT_&var_ref_re;_SCRIPT|CPACK_NUGET_PACKAGE_DEPENDENCIES_&var_ref_re;_VERSION|CPACK_NUGET_&var_ref_re;_PACKAGE_VERSION|CPACK_NUGET_&var_ref_re;_PACKAGE_TITLE|CPACK_NUGET_&var_ref_re;_PACKAGE_TAGS|CPACK_NUGET_&var_ref_re;_PACKAGE_RELEASE_NOTES|CPACK_NUGET_&var_ref_re;_PACKAGE_OWNERS|CPACK_NUGET_&var_ref_re;_PACKAGE_NAME|CPACK_NUGET_&var_ref_re;_PACKAGE_LICENSE_FILE_NAME|CPACK_NUGET_&var_ref_re;_PACKAGE_LICENSE_EXPRESSION|CPACK_NUGET_&var_ref_re;_PACKAGE_LICENSEURL|CPACK_NUGET_&var_ref_re;_PACKAGE_LANGUAGE|CPACK_NUGET_&var_ref_re;_PACKAGE_ICONURL|CPACK_NUGET_&var_ref_re;_PACKAGE_ICON|CPACK_NUGET_&var_ref_re;_PACKAGE_HOMEPAGE_URL|CPACK_NUGET_&var_ref_re;_PACKAGE_DESCRIPTION_SUMMARY|CPACK_NUGET_&var_ref_re;_PACKAGE_DESCRIPTION|CPACK_NUGET_&var_ref_re;_PACKAGE_DEPENDENCIES_&var_ref_re;_VERSION|CPACK_NUGET_&var_ref_re;_PACKAGE_DEPENDENCIES|CPACK_NUGET_&var_ref_re;_PACKAGE_COPYRIGHT|CPACK_NUGET_&var_ref_re;_PACKAGE_AUTHORS|CPACK_NSIS_&var_ref_re;_INSTALL_DIRECTORY|CPACK_INNOSETUP_SETUP_&var_ref_re;|CPACK_INNOSETUP_DEFINE_&var_ref_re;|CPACK_INNOSETUP_&var_ref_re;_INSTALL_DIRECTORY|CPACK_DMG_&var_ref_re;_FILE_NAME|CPACK_DEBIAN_&var_ref_re;_PACKAGE_SUGGESTS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_SOURCE|CPACK_DEBIAN_&var_ref_re;_PACKAGE_SHLIBDEPS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_SECTION|CPACK_DEBIAN_&var_ref_re;_PACKAGE_REPLACES|CPACK_DEBIAN_&var_ref_re;_PACKAGE_RECOMMENDS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_PROVIDES|CPACK_DEBIAN_&var_ref_re;_PACKAGE_PRIORITY|CPACK_DEBIAN_&var_ref_re;_PACKAGE_PREDEPENDS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_NAME|CPACK_DEBIAN_&var_ref_re;_PACKAGE_ENHANCES|CPACK_DEBIAN_&var_ref_re;_PACKAGE_DEPENDS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_CONTROL_STRICT_PERMISSION|CPACK_DEBIAN_&var_ref_re;_PACKAGE_CONTROL_EXTRA|CPACK_DEBIAN_&var_ref_re;_PACKAGE_CONFLICTS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_BREAKS|CPACK_DEBIAN_&var_ref_re;_PACKAGE_ARCHITECTURE|CPACK_DEBIAN_&var_ref_re;_FILE_NAME|CPACK_DEBIAN_&var_ref_re;_DESCRIPTION|CPACK_DEBIAN_&var_ref_re;_DEBUGINFO_PACKAGE|CPACK_COMPONENT_&var_ref_re;_REQUIRED|CPACK_COMPONENT_&var_ref_re;_HIDDEN|CPACK_COMPONENT_&var_ref_re;_GROUP|CPACK_COMPONENT_&var_ref_re;_DISPLAY_NAME|CPACK_COMPONENT_&var_ref_re;_DISABLED|CPACK_COMPONENT_&var_ref_re;_DESCRIPTION|CPACK_COMPONENT_&var_ref_re;_DEPENDS|CPACK_BINARY_&var_ref_re;|CPACK_ARCHIVE_&var_ref_re;_FILE_NAME|CPACK_&var_ref_re;_COMPONENT_INSTALL|CMAKE_XCODE_ATTRIBUTE_&var_ref_re;|CMAKE_USER_MAKE_RULES_OVERRIDE_&var_ref_re;|CMAKE_STATIC_LINKER_FLAGS_&var_ref_re;_INIT|CMAKE_STATIC_LINKER_FLAGS_&var_ref_re;|CMAKE_SHARED_LINKER_FLAGS_&var_ref_re;_INIT|CMAKE_SHARED_LINKER_FLAGS_&var_ref_re;|CMAKE_RUNTIME_OUTPUT_DIRECTORY_&var_ref_re;|CMAKE_REQUIRE_FIND_PACKAGE_&var_ref_re;|CMAKE_PROJECT_&var_ref_re;_INCLUDE_BEFORE|CMAKE_PROJECT_&var_ref_re;_INCLUDE|CMAKE_POLICY_WARNING_CMP[0-9]{4}|CMAKE_POLICY_DEFAULT_CMP[0-9]{4}|CMAKE_PDB_OUTPUT_DIRECTORY_&var_ref_re;|CMAKE_MODULE_LINKER_FLAGS_&var_ref_re;_INIT|CMAKE_MODULE_LINKER_FLAGS_&var_ref_re;|CMAKE_MATCH_[0-9]+|CMAKE_MAP_IMPORTED_CONFIG_&var_ref_re;|CMAKE_LINK_LIBRARY_USING_&var_ref_re;_SUPPORTED|CMAKE_LINK_LIBRARY_USING_&var_ref_re;|CMAKE_LINK_GROUP_USING_&var_ref_re;_SUPPORTED|CMAKE_LINK_GROUP_USING_&var_ref_re;|CMAKE_LIBRARY_OUTPUT_DIRECTORY_&var_ref_re;|CMAKE_INTERPROCEDURAL_OPTIMIZATION_&var_ref_re;|CMAKE_GET_OS_RELEASE_FALLBACK_RESULT_&var_ref_re;|CMAKE_FRAMEWORK_MULTI_CONFIG_POSTFIX_&var_ref_re;|CMAKE_EXE_LINKER_FLAGS_&var_ref_re;_INIT|CMAKE_EXE_LINKER_FLAGS_&var_ref_re;|CMAKE_DISABLE_FIND_PACKAGE_&var_ref_re;|CMAKE_COMPILE_PDB_OUTPUT_DIRECTORY_&var_ref_re;|CMAKE_ARGV[0-9]+|CMAKE_ARCHIVE_OUTPUT_DIRECTORY_&var_ref_re;|CMAKE_&var_ref_re;_VISIBILITY_PRESET|CMAKE_&var_ref_re;_STANDARD_LIBRARIES|CMAKE_&var_ref_re;_STANDARD_INCLUDE_DIRECTORIES|CMAKE_&var_ref_re;_SOURCE_FILE_EXTENSIONS|CMAKE_&var_ref_re;_SIZEOF_DATA_PTR|CMAKE_&var_ref_re;_SIMULATE_VERSION|CMAKE_&var_ref_re;_SIMULATE_ID|CMAKE_&var_ref_re;_POSTFIX|CMAKE_&var_ref_re;_OUTPUT_EXTENSION|CMAKE_&var_ref_re;_LINK_WHAT_YOU_USE_FLAG|CMAKE_&var_ref_re;_LINK_LIBRARY_USING_&var_ref_re;_SUPPORTED|CMAKE_&var_ref_re;_LINK_LIBRARY_USING_&var_ref_re;|CMAKE_&var_ref_re;_LINK_LIBRARY_FLAG|CMAKE_&var_ref_re;_LINK_LIBRARY_FILE_FLAG|CMAKE_&var_ref_re;_LINK_GROUP_USING_&var_ref_re;_SUPPORTED|CMAKE_&var_ref_re;_LINK_GROUP_USING_&var_ref_re;|CMAKE_&var_ref_re;_LINK_EXECUTABLE|CMAKE_&var_ref_re;_LINKER_WRAPPER_FLAG_SEP|CMAKE_&var_ref_re;_LINKER_WRAPPER_FLAG|CMAKE_&var_ref_re;_LINKER_PREFERENCE_PROPAGATES|CMAKE_&var_ref_re;_LINKER_PREFERENCE|CMAKE_&var_ref_re;_LINKER_LAUNCHER|CMAKE_&var_ref_re;_LIBRARY_ARCHITECTURE|CMAKE_&var_ref_re;_INCLUDE_WHAT_YOU_USE|CMAKE_&var_ref_re;_IMPLICIT_LINK_LIBRARIES|CMAKE_&var_ref_re;_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES|CMAKE_&var_ref_re;_IMPLICIT_LINK_DIRECTORIES|CMAKE_&var_ref_re;_IMPLICIT_INCLUDE_DIRECTORIES|CMAKE_&var_ref_re;_IGNORE_EXTENSIONS|CMAKE_&var_ref_re;_GHS_KERNEL_FLAGS_RELWITHDEBINFO|CMAKE_&var_ref_re;_GHS_KERNEL_FLAGS_RELEASE|CMAKE_&var_ref_re;_GHS_KERNEL_FLAGS_MINSIZEREL|CMAKE_&var_ref_re;_GHS_KERNEL_FLAGS_DEBUG|CMAKE_&var_ref_re;_FLAGS_RELWITHDEBINFO_INIT|CMAKE_&var_ref_re;_FLAGS_RELWITHDEBINFO|CMAKE_&var_ref_re;_FLAGS_RELEASE_INIT|CMAKE_&var_ref_re;_FLAGS_RELEASE|CMAKE_&var_ref_re;_FLAGS_MINSIZEREL_INIT|CMAKE_&var_ref_re;_FLAGS_MINSIZEREL|CMAKE_&var_ref_re;_FLAGS_INIT|CMAKE_&var_ref_re;_FLAGS_DEBUG_INIT|CMAKE_&var_ref_re;_FLAGS_DEBUG|CMAKE_&var_ref_re;_FLAGS_&var_ref_re;_INIT|CMAKE_&var_ref_re;_FLAGS_&var_ref_re;|CMAKE_&var_ref_re;_FLAGS|CMAKE_&var_ref_re;_EXTENSIONS_DEFAULT|CMAKE_&var_ref_re;_EXTENSIONS|CMAKE_&var_ref_re;_CREATE_STATIC_LIBRARY|CMAKE_&var_ref_re;_CREATE_SHARED_MODULE|CMAKE_&var_ref_re;_CREATE_SHARED_LIBRARY|CMAKE_&var_ref_re;_CPPLINT|CMAKE_&var_ref_re;_CPPCHECK|CMAKE_&var_ref_re;_COMPILE_OBJECT|CMAKE_&var_ref_re;_COMPILER_VERSION|CMAKE_&var_ref_re;_COMPILER_TARGET|CMAKE_&var_ref_re;_COMPILER_RANLIB|CMAKE_&var_ref_re;_COMPILER_LOADED|CMAKE_&var_ref_re;_COMPILER_LAUNCHER|CMAKE_&var_ref_re;_COMPILER_ID|CMAKE_&var_ref_re;_COMPILER_FRONTEND_VARIANT|CMAKE_&var_ref_re;_COMPILER_EXTERNAL_TOOLCHAIN|CMAKE_&var_ref_re;_COMPILER_AR|CMAKE_&var_ref_re;_COMPILER|CMAKE_&var_ref_re;_CLANG_TIDY_EXPORT_FIXES_DIR|CMAKE_&var_ref_re;_CLANG_TIDY|CMAKE_&var_ref_re;_BYTE_ORDER|CMAKE_&var_ref_re;_ARCHIVE_FINISH|CMAKE_&var_ref_re;_ARCHIVE_CREATE|CMAKE_&var_ref_re;_ARCHIVE_APPEND|CMAKE_&var_ref_re;_ANDROID_TOOLCHAIN_SUFFIX|CMAKE_&var_ref_re;_ANDROID_TOOLCHAIN_PREFIX|CMAKE_&var_ref_re;_ANDROID_TOOLCHAIN_MACHINE|Boost_&var_ref_re;_LIBRARY_RELEASE|Boost_&var_ref_re;_LIBRARY_DEBUG|Boost_&var_ref_re;_LIBRARY|BISON_&var_ref_re;_OUTPUT_SOURCE|BISON_&var_ref_re;_OUTPUT_HEADER|BISON_&var_ref_re;_OUTPUTS|BISON_&var_ref_re;_INPUT|BISON_&var_ref_re;_DEFINED|BISON_&var_ref_re;_COMPILE_FLAGS|ARGV[0-9]+|&var_ref_re;__TRYRUN_OUTPUT|&var_ref_re;_VERSION_TWEAK|&var_ref_re;_VERSION_STRING|&var_ref_re;_VERSION_PATCH|&var_ref_re;_VERSION_MINOR|&var_ref_re;_VERSION_MAJOR|&var_ref_re;_VERSION_COUNT|&var_ref_re;_VERSION|&var_ref_re;_UNPARSED_ARGUMENTS|&var_ref_re;_STATIC_LINK_LIBRARIES|&var_ref_re;_SOURCE_DIR|&var_ref_re;_ROOT|&var_ref_re;_MODULE_NAME|&var_ref_re;_LINK_LIBRARIES|&var_ref_re;_LIBRARY_DIRS|&var_ref_re;_LIBRARIES|&var_ref_re;_LDFLAGS_OTHER|&var_ref_re;_LDFLAGS|&var_ref_re;_KEYWORDS_MISSING_VALUES|&var_ref_re;_IS_TOP_LEVEL|&var_ref_re;_INCLUDE_DIRS|&var_ref_re;_HOMEPAGE_URL|&var_ref_re;_FOUND|&var_ref_re;_FIND_VERSION_RANGE_MIN|&var_ref_re;_FIND_VERSION_RANGE_MAX|&var_ref_re;_FIND_VERSION_RANGE|&var_ref_re;_FIND_VERSION_MIN_TWEAK|&var_ref_re;_FIND_VERSION_MIN_PATCH|&var_ref_re;_FIND_VERSION_MIN_MINOR|&var_ref_re;_FIND_VERSION_MIN_MAJOR|&var_ref_re;_FIND_VERSION_MIN_COUNT|&var_ref_re;_FIND_VERSION_MIN|&var_ref_re;_FIND_VERSION_MAX_TWEAK|&var_ref_re;_FIND_VERSION_MAX_PATCH|&var_ref_re;_FIND_VERSION_MAX_MINOR|&var_ref_re;_FIND_VERSION_MAX_MAJOR|&var_ref_re;_FIND_VERSION_MAX_COUNT|&var_ref_re;_FIND_VERSION_MAX|&var_ref_re;_FIND_VERSION_EXACT|&var_ref_re;_FIND_VERSION_COUNT|&var_ref_re;_FIND_VERSION_COMPLETE|&var_ref_re;_FIND_REQUIRED_&var_ref_re;|&var_ref_re;_FIND_REQUIRED|&var_ref_re;_FIND_QUIETLY|&var_ref_re;_FIND_COMPONENTS|&var_ref_re;_DESCRIPTION|&var_ref_re;_CONSIDERED_VERSIONS|&var_ref_re;_CONSIDERED_CONFIGS|&var_ref_re;_CONFIG|&var_ref_re;_CFLAGS_OTHER|&var_ref_re;_CFLAGS|&var_ref_re;_BINARY_DIR)\b"/> </context> <context attribute="Normal Text" lineEndContext="#stay" name="Detect Variable Substitutions">
+ xml/dosbat.xml view
@@ -0,0 +1,643 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE language+[+ <!ENTITY label "[^\s]+">+ <!ENTITY varname "[A-Za-z_][A-Za-z0-9_.]*"> <!-- valid character in a variable name -->+ <!ENTITY varname_set "&varname;(?=(\[(%%)?(&varname;|\d+)\]|!&varname;!)?(=|\s*$))|%~?\d|%%(&varname;|[0-9*#])"> <!-- variable in set cmd -->+ <!ENTITY eop "(?=([\s\\;"%]|$))"> <!-- end of path -->+ <!ENTITY pathpart "[^\s\\%!;/:*?"><|&]"> <!-- valid character in a file name -->+]>+<language name="MS-DOS Batch" version="8" kateversion="5.62" section="Scripts" extensions="*.bat;*.cmd" mimetype="application/x-dos" casesensitive="0" author="Matthew Woehlke (mw_triad@users.sourceforge.net)" license="LGPL">++<!-- (c) 2006, 2009, 2010 Matthew Woehlke (mw_triad@users.sourceforge.net)+ Released under the LGPL -->++ <highlighting>+ <list name="builtins">+ <item>assoc</item>+ <item>break</item>+ <item>cd</item>+ <item>chdir</item>+ <item>cls</item>+ <item>color</item>+ <item>copy</item>+ <item>date</item>+ <item>del</item>+ <item>dir</item>+ <item>endlocal</item>+ <item>erase</item>+ <item>exit</item>+ <item>ftype</item>+ <item>md</item>+ <item>mkdir</item>+ <item>move</item>+ <item>path</item>+ <item>pause</item>+ <item>popd</item>+ <item>prompt</item>+ <item>pushd</item>+ <item>rd</item>+ <item>ren</item>+ <item>rename</item>+ <item>rmdir</item>+ <item>runas</item>+ <item>setlocal</item>+ <item>shift</item>+ <item>start</item>+ <item>time</item>+ <item>title</item>+ <item>type</item>+ <item>ver</item>+ <item>verify</item>+ <item>vol</item>+ </list>++ <!-- these need special handling -->+ <list name="special commands">+ <item>call</item>+ <item>echo</item>+ <item>else</item>+ <item>for</item>+ <item>in</item>+ <item>do</item>+ <item>goto</item>+ <item>if</item>+ <item>not</item>+ <item>rem</item>+ <item>set</item>+ </list>++ <list name="commands">+ <!-- the basics -->+ <item>at</item>+ <item>attrib</item>+ <item>break</item>+ <item>cacls</item>+ <item>chcp</item>+ <item>chkdsk</item>+ <item>chkntfs</item>+ <item>cmd</item>+ <item>comp</item>+ <item>compact</item>+ <item>convert</item>+ <item>diskcomp</item>+ <item>diskcopy</item>+ <item>doskey</item>+ <item>fc</item>+ <item>find</item>+ <item>findstr</item>+ <item>format</item>+ <item>graftabl</item>+ <item>help</item>+ <item>label</item>+ <item>mode</item>+ <item>more</item>+ <item>print</item>+ <item>recover</item>+ <item>replace</item>+ <item>sort</item>+ <item>subst</item>+ <item>tree</item>+ <item>xcopy</item>+ </list>++ <list name="comparators">+ <item>EQU</item>+ <item>NEQ</item>+ <item>LSS</item>+ <item>LEQ</item>+ <item>GTR</item>+ <item>GEQ</item>+ </list>++ <contexts>+ <context attribute="Normal Text" lineEndContext="#stay" name="Start">+ <DetectSpaces/>+ <!-- general syntactical stuff -->+ <keyword attribute="Builtin" context="Command" String="builtins"/>+ <keyword attribute="Command" context="Command" String="commands"/>+ <!-- special built-ins -->+ <WordDetect attribute="Builtin" context="CmdSet" String="set" insensitive="1"/>+ <WordDetect attribute="Builtin" context="CmdEcho" String="echo" insensitive="1" lookAhead="1"/>+ <WordDetect attribute="ControlFlow" context="CmdIf" String="if" insensitive="1"/>+ <WordDetect attribute="ControlFlow" context="#stay" String="else" insensitive="1"/>+ <WordDetect attribute="ControlFlow" context="CmdFor" String="for" insensitive="1"/>+ <WordDetect attribute="ControlFlow" context="CmdGoto" String="goto" insensitive="1"/>+ <WordDetect attribute="Builtin" context="CmdCall" String="call" insensitive="1"/>+ <WordDetect attribute="Comment" context="Comment" String="rem" insensitive="1"/>+ <DetectChar attribute="Keyword" context="#stay" char="@"/>+ <!-- other syntaxes -->+ <StringDetect attribute="Comment" context="Comment" String="::"/>+ <DetectChar attribute="Label" context="Label" char=":" firstNonSpace="true"/>+ <DetectChar attribute="Keyword" context="NestedStart" char="(" beginRegion="body"/>+ <IncludeRules context="FindRedirections"/>+ <RegExpr attribute="Path" context="Command" String="[^\s%!;*?"><|&]+"/>+ <StringDetect attribute="Keyword" String="||"/>+ <StringDetect attribute="Keyword" String="&&"/>+ <DetectChar attribute="Redirection" char="|"/>+ <DetectChar attribute="Keyword" char="&"/>+ <IncludeRules context="FindStrings"/>+ <IncludeRules context="FindSubstitutions"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#stay" name="NestedStart">+ <DetectChar attribute="Keyword" context="#pop" char=")" endRegion="body"/>+ <IncludeRules context="Start"/>+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="FindBranches">+ <StringDetect attribute="Keyword" context="#pop" String="||"/>+ <StringDetect attribute="Keyword" context="#pop" String="&&"/>+ <DetectChar attribute="Redirection" context="#pop" char="|"/>+ <DetectChar attribute="Keyword" context="#pop" char="&"/>+ <DetectChar attribute="Keyword" context="#pop" char=")" endRegion="body"/>+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="FindRedirections">+ <RegExpr attribute="Redirection" context="Redirection" String="[0-9]*(>>?|<)"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#stay" name="Redirection" fallthroughContext="#pop!Path">+ <DetectSpaces context="#pop!Path"/>+ <RegExpr attribute="Redirection" context="#pop" String="&[0-9]+|"/>+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="FindStrings">+ <DetectChar attribute="String" context="String" char="""/>+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="FindSubstitutions">+ <Detect2Chars attribute="Escape" context="Substitution" char="%" char1="%"/>+ <IncludeRules context="FindVariables"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#stay" name="Substitution" fallthroughContext="#pop">+ <RegExpr attribute="Variable Expansion" context="#pop!SubstitutionVariable" String="&varname;(\[(%%)?(&varname;|\d+)\])*(:~(%%&varname;|-?[0-9]+)(,(%%&varname;|-?[0-9]+))?|:[^=]+=[^%]*)?%|[0-9*#]|~[fdpnxsatz]*(\$&varname;:)?[0-9#]|" lookAhead="1"/>+ <DetectIdentifier attribute="Variable" context="#pop"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#stay" name="SubstitutionVariable" fallthroughContext="#pop!VariableRegular1">+ <DetectChar attribute="Variable Expansion" char="~" context="#pop!VariableModificator"/>+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="FindVariables">+ <!--+ %var%+ %var:~N,N%+ %var:old=new%+ %~n1+ %~$var:1+ %1+ %*+ !var!+ !var:~N,N!+ !var:old=new!+ !%...%!++ prefix:+ [%!]var[...]+ [%!]var%%+ -->+ <RegExpr attribute="Variable Expansion" context="Variable" String="%(&varname;(\[(%%)?(&varname;|\d+)\])*(:~(%%&varname;|-?[0-9]+)(,(%%&varname;|-?[0-9]+))?|:[^=]+=[^%]*)?%|[0-9*#])|%~[fdpnxsatz]*(\$&varname;:)?[0-9#]|!%(&varname;(\[(%%)?(&varname;|\d+)\]|%%&varname;)*%|[0-9*#])!|!&varname;(\[(%%)?(&varname;|\d+)\]|%%&varname;)*(:~(%%&varname;|-?[0-9]+)(,(%%&varname;|-?[0-9]+))?|:[^=]+=[^!]*)?!" lookAhead="1"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#pop" name="Variable">+ <StringDetect attribute="Variable Expansion" String="%~" context="#pop!VariableModificator"/>+ <DetectChar attribute="Variable Expansion" char="%" context="#pop!VariableRegular1"/>+ <DetectChar attribute="Variable Expansion" char="!" context="#pop!VariableRegular2"/>+ </context>+ <!-- %~ -->+ <context attribute="Normal Text" lineEndContext="#pop" name="VariableModificator">+ <AnyChar attribute="Variable Expansion" String="fdpnxsatz"/>+ <DetectChar attribute="Variable Expansion" char="$" context="#pop!VariableFind"/>+ <AnyChar attribute="Variable" String="0123456789#" context="#pop"/>+ </context>+ <!-- %~$ -->+ <context attribute="Normal Text" lineEndContext="#pop" name="VariableFind">+ <DetectIdentifier attribute="Variable"/>+ <DetectChar attribute="Variable Expansion" char=":"/>+ <AnyChar attribute="Variable" String="0123456789#" context="#pop"/>+ <DetectChar attribute="Variable" char="."/>+ </context>+ <!-- % -->+ <context attribute="Normal Text" lineEndContext="#pop" name="VariableRegular1">+ <DetectChar attribute="Variable Expansion" char="%" context="#pop"/>+ <DetectIdentifier attribute="Variable"/>+ <AnyChar attribute="Variable" String="0123456789*#" context="#pop"/>+ <StringDetect attribute="Variable Expansion" String=":~" context="#pop!VariableSub"/>+ <DetectChar attribute="Variable Expansion" char=":" context="#pop!VariableReplace1"/>+ <IncludeRules context="FindVariableRegularKey"/>+ <DetectChar attribute="Variable" char="."/>+ </context>+ <!-- ! -->+ <context attribute="Normal Text" lineEndContext="#pop" name="VariableRegular2">+ <DetectChar attribute="Variable Expansion" char="!" context="#pop"/>+ <DetectIdentifier attribute="Variable"/>+ <StringDetect attribute="Variable Expansion" String=":~" context="#pop!VariableSub"/>+ <DetectChar attribute="Variable Expansion" char=":" context="#pop!VariableReplace2"/>+ <IncludeRules context="FindVariableRegularKey"/>+ <IncludeRules context="FindVariableRegularEscaped"/>+ <DetectChar attribute="Variable Expansion" char="%" context="VariableRegular1"/>+ <DetectChar attribute="Variable" char="."/>+ </context>+ <!-- %% in !var1%%var2! -->+ <context attribute="Normal Text" lineEndContext="#stay" name="FindVariableRegularEscaped">+ <StringDetect attribute="Escape" String="%%" context="VariableRegularEscaped"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#pop" name="VariableRegularEscaped">+ <DetectIdentifier attribute="Variable" context="#pop"/>+ </context>+ <!-- for [ ... ] -->+ <context attribute="Normal Text" lineEndContext="#stay" name="FindVariableRegularKey">+ <DetectChar attribute="Symbol" char="[" context="VariableRegularKey"/>+ </context>+ <!-- [ -->+ <context attribute="String" lineEndContext="#stay" name="VariableRegularKey">+ <DetectChar attribute="Symbol" char="]" context="#pop"/>+ <StringDetect attribute="Escape" String="%%" context="VariableRegularKeyVar"/>+ <IncludeRules context="FindNumber"/>+ <DetectIdentifier attribute="String"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#stay" name="VariableRegularKeyVar" fallthroughContext="#pop">+ <DetectIdentifier attribute="Variable" context="#pop"/>+ </context>+ <!-- %var:~ and !var:~ -->+ <context attribute="Normal Text" lineEndContext="#pop" name="VariableSub">+ <StringDetect attribute="Escape" String="%%"/>+ <AnyChar attribute="Variable Expansion" String="%!" context="#pop"/>+ <IncludeRules context="FindNumber"/>+ <DetectIdentifier attribute="Variable"/>+ <DetectChar attribute="Number" char="-"/>+ <DetectChar attribute="Variable Expansion" char=","/>+ <DetectChar attribute="Variable" char="."/>+ </context>+ <!-- %var: -->+ <context attribute="Normal Text" lineEndContext="#pop" name="VariableReplace1">+ <RegExpr attribute="String" String="[^=]+" context="#pop!VariableReplace1Sep"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#pop" name="VariableReplace1Sep">+ <DetectChar attribute="Variable Expansion" char="=" context="#pop!VariableReplace1P2"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#pop" name="VariableReplace1P2">+ <DetectChar attribute="Variable Expansion" char="%" context="#pop"/>+ <RegExpr attribute="String" String="[^%]+"/>+ </context>+ <!-- !var: -->+ <context attribute="Normal Text" lineEndContext="#pop" name="VariableReplace2">+ <RegExpr attribute="String" String="[^=]+" context="#pop!VariableReplace2Sep"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#pop" name="VariableReplace2Sep">+ <DetectChar attribute="Variable Expansion" char="=" context="#pop!VariableReplace2P2"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#pop" name="VariableReplace2P2">+ <DetectChar attribute="Variable Expansion" char="!" context="#pop"/>+ <RegExpr attribute="String" String="[^!]+"/>+ </context>++ <!-- basic sub-contexts -->+ <context attribute="Comment" lineEndContext="#pop" name="Comment">+ <DetectSpaces/>+ <IncludeRules context="##Comments"/>+ <DetectIdentifier/>+ <IncludeRules context="FindUnquotedStringEscape"/>+ <AnyChar attribute="Error" String="&|^<>()"/>+ </context>++ <context attribute="String" lineEndContext="#pop" name="String">+ <DetectSpaces attribute="String"/>+ <Detect2Chars attribute="Escape" char="\" char1="""/>+ <Detect2Chars attribute="Escape" char="\" char1="\"/>+ <DetectChar attribute="String" context="#pop" char="""/>+ <IncludeRules context="FindSubstitutions"/>+ <DetectIdentifier attribute="String"/>+ </context>++ <context attribute="Normal Text" lineEndContext="#pop" name="Command">+ <DetectSpaces/>+ <IncludeRules context="FindUnquotedString"/>+ <IncludeRules context="FindSpecialCommandOption"/>+ <DetectIdentifier/>+ </context>++ <context attribute="Normal Text" lineEndContext="#pop" name="FindSpecialCommandOption">+ <RegExpr attribute="Option" context="#stay" String="[/-][A-Za-z0-9][A-Za-z0-9_]*:?"/>+ <RegExpr attribute="Path" context="#stay" String="[.]+&eop;|[A-Za-z][A-Za-z.]*:(\\+&pathpart;*)*|&pathpart;*(\\+&pathpart;*)+"/>+ </context>++ <context attribute="Error" lineEndContext="#pop" name="Label">+ <RegExpr attribute="Label" context="Comment" String="&label;"/>+ </context>++ <context attribute="Path" lineEndContext="#pop" name="Path">+ <IncludeRules context="FindStrings"/>+ <IncludeRules context="FindSubstitutions"/>+ <AnyChar attribute="Normal Text" context="#pop" String=" 	\%/:*?"><|&" lookAhead="true"/>+ <DetectIdentifier/>+ </context>++ <context attribute="Error" lineEndContext="#pop" name="Error">+ </context>++ <context attribute="Normal Text" lineEndContext="#pop" name="FindNumber">+ <HlCHex attribute="Hex"/>+ <HlCOct attribute="Octal"/>+ <Int attribute="Number"/>+ </context>++ <context attribute="Normal Text" lineEndContext="#pop" name="FindUnquotedStringEscape">+ <RegExpr attribute="Escape" context="#stay" String="\^."/>+ </context>++ <context attribute="Normal Text" lineEndContext="#pop" name="FindUnquotedString">+ <IncludeRules context="FindStrings"/>+ <IncludeRules context="FindSubstitutions"/>+ <IncludeRules context="FindUnquotedStringEscape"/>+ <IncludeRules context="FindRedirections"/>+ <IncludeRules context="FindBranches"/>+ </context>++ <context attribute="Normal Text" lineEndContext="#pop" name="UnquotedString">+ <DetectSpaces/>+ <DetectIdentifier/>+ <IncludeRules context="FindUnquotedString"/>+ </context>++ <!-- special sub-contexts -->+ <context attribute="Error" lineEndContext="#pop" name="CmdSet" fallthroughContext="#pop!Error">+ <IncludeRules context="CmdSetVar"/>+ <WordDetect attribute="Option" context="#pop!CmdSetVar" String="/p" insensitive="1"/>+ <WordDetect attribute="Option" context="#pop!CmdSetExpr" String="/a" insensitive="1"/>+ </context>+ <context attribute="Error" lineEndContext="#pop" name="CmdSetVar" fallthroughContext="#pop!Error">+ <DetectSpaces attribute="Normal Text"/>+ <DetectChar attribute="String" context="#pop!CmdSetQuotedVar" char="""/>+ <RegExpr attribute="Variable" context="#pop!CmdSetVar=" String="&varname_set;"/>+ <DetectChar attribute="Symbol" context="#pop!UnquotedString" char="="/>+ </context>+ <!-- set var -->+ <context attribute="Error" lineEndContext="#pop" name="CmdSetVar=">+ <DetectChar attribute="Symbol" context="#pop!UnquotedString" char="="/>+ <IncludeRules context="FindCmdSetVarSuffix"/>+ </context>+ <context attribute="Error" lineEndContext="#pop" name="FindCmdSetVarSuffix">+ <DetectChar attribute="Variable Expansion" char="!"/>+ <DetectIdentifier attribute="Variable"/>+ <IncludeRules context="FindVariableRegularKey"/>+ </context>+ <!-- set " -->+ <context attribute="Error" lineEndContext="#pop" name="CmdSetQuotedVar" fallthroughContext="#pop!Error">+ <RegExpr attribute="Variable" context="#pop!CmdSetQuotedVar=" String="&varname_set;"/>+ <DetectChar attribute="Symbol" context="#pop!String" char="="/>+ <DetectChar attribute="String" context="#pop" char="""/>+ </context>+ <!-- set "var -->+ <context attribute="Error" lineEndContext="#pop" name="CmdSetQuotedVar=">+ <DetectChar attribute="Symbol" context="#pop!String" char="="/>+ <IncludeRules context="FindCmdSetVarSuffix"/>+ <DetectChar attribute="String" context="#pop" char="""/>+ </context>++ <!-- set /a -->+ <context attribute="Error" lineEndContext="#pop" name="CmdSetExpr" fallthroughContext="#pop!CmdSetUnquotedExpr">+ <DetectSpaces attribute="Normal Text"/>+ <DetectChar attribute="String" context="CmdSetQuotedExpr" char="""/>+ <DetectIdentifier attribute="Variable" context="CmdSetUnquotedExpr"/>+ <DetectChar attribute="Keyword" char=","/>+ </context>+ <context attribute="Error" lineEndContext="#pop" name="CmdSetQuotedExpr">+ <IncludeRules context="FindVariables"/>+ <StringDetect attribute="Operator" String="%%"/>+ <AnyChar attribute="Operator" String="=*/%+-&^|!~"/>+ <AnyChar attribute="Symbol" String="()[],"/>+ <DetectIdentifier attribute="Variable"/>+ <StringDetect attribute="Operator" String="<<"/>+ <StringDetect attribute="Operator" String=">>"/>+ <IncludeRules context="FindNumber"/>+ <DetectSpaces attribute="Normal Text"/>+ <DetectChar attribute="String" context="#pop" char="""/>+ </context>+ <context attribute="Error" lineEndContext="#pop" name="CmdSetUnquotedExpr">+ <AnyChar attribute="Symbol" String="()[]"/>+ <IncludeRules context="FindUnquotedString"/>+ <AnyChar attribute="Operator" String="=+-/^*!"/>+ <DetectChar attribute="Keyword" context="#pop" char=","/>+ <DetectIdentifier attribute="Variable"/>+ <IncludeRules context="FindNumber"/>+ <DetectSpaces attribute="Normal Text"/>+ </context>++ <!-- echo -->+ <context attribute="Echoed Text" lineEndContext="#pop" name="CmdEcho">+ <RegExpr attribute="Builtin" context="#pop" String="echo\s+o(ff|n)\s*(?=[&|]|$)" insensitive="1"/>+ <StringDetect attribute="Builtin" context="#pop!CmdEcho2" String="echo" insensitive="1"/>+ </context>+ <context attribute="Echoed Text" lineEndContext="#pop" name="CmdEcho2">+ <DetectSpaces/>+ <IncludeRules context="FindSubstitutions"/>+ <IncludeRules context="FindUnquotedStringEscape"/>+ <IncludeRules context="FindRedirections"/>+ <IncludeRules context="FindBranches"/>+ <DetectIdentifier/>+ </context>++ <!-- goto -->+ <context attribute="Error" lineEndContext="#pop" name="CmdGoto">+ <DetectSpaces attribute="Normal Text" context="#stay"/>+ <DetectChar attribute="Label" char=":"/>+ <RegExpr attribute="Label" context="#pop" String="&label;"/>+ </context>++ <!-- call -->+ <context attribute="Error" lineEndContext="#pop" name="CmdCall" fallthroughContext="#pop!Command">+ <DetectSpaces attribute="Normal Text" context="#stay"/>+ <DetectChar attribute="Label" char=":"/>+ <RegExpr attribute="Label" context="#pop!Command" String="&label;"/>+ </context>+++ <!-- if -->+ <context attribute="Normal Text" lineEndContext="#pop" name="CmdIf" fallthroughContext="CmdIfCond">+ <DetectSpaces/>+ <StringDetect attribute="Option" String="/i" insensitive="1"/>+ <WordDetect attribute="Keyword" String="not" insensitive="1"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#pop" name="CmdIfCond" fallthroughContext="CmdIfCondCmp">+ <WordDetect attribute="Option" context="CmdIfCondExist" String="exist" insensitive="1"/>+ <WordDetect attribute="Option" context="CmdIfCondDefined" String="defined" insensitive="1"/>+ <WordDetect attribute="Option" context="CmdIfCondNum" String="errorlevel" insensitive="1"/>+ <WordDetect attribute="Option" context="CmdIfCondNum" String="cmdextversion" insensitive="1"/>+ </context>++ <!-- if exist -->+ <context attribute="Normal Text" lineEndContext="#pop" name="CmdIfCondExist" fallthroughContext="#pop#pop#pop">+ <DetectSpaces context="CmdIfCondExistPath"/>+ </context>+ <context attribute="Path" lineEndContext="#pop" name="CmdIfCondExistPath" fallthroughContext="#pop#pop#pop#pop">+ <DetectSpaces context="#pop#pop#pop#pop" attribute="Normal Text"/>+ <IncludeRules context="FindStrings"/>+ <IncludeRules context="FindSubstitutions"/>+ <DetectIdentifier/>+ </context>++ <!-- if defined -->+ <context attribute="Normal Text" lineEndContext="#pop" name="CmdIfCondDefined" fallthroughContext="#pop#pop#pop">+ <DetectSpaces/>+ <DetectIdentifier context="#pop#pop#pop" attribute="Variable"/>+ </context>++ <!-- if errorlevel | if cmdextversion -->+ <context attribute="Normal Text" lineEndContext="#pop" name="CmdIfCondNum" fallthroughContext="#pop#pop#pop">+ <DetectSpaces/>+ <Int context="#pop#pop#pop" attribute="Number"/>+ <IncludeRules context="FindVariables"/>+ </context>++ <!-- For+ if xxx op yyy+ and+ if xxx==yyy+ -->+ <context attribute="Normal Text" lineEndContext="#pop" name="CmdIfCondCmp">+ <DetectSpaces context="#pop!CmdIfCondCmpOp"/>+ <IncludeRules context="FindStrings"/>+ <IncludeRules context="FindSubstitutions"/>+ <DetectIdentifier/>+ <StringDetect String="==" attribute="Keyword" context="CmdIfCondCmpOperand2"/>+ </context>+ <!-- fallthroughContext for operand as option: if %CasseSensitive% "%a%"=="x" -->+ <context attribute="Normal Text" lineEndContext="#pop" name="CmdIfCondCmpOp" fallthroughContext="#pop#pop">+ <keyword context="CmdIfCondCmpOpSpace" String="comparators" attribute="Keyword"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#pop" name="CmdIfCondCmpOpSpace">+ <DetectSpaces context="#pop!CmdIfCondCmpOperand2"/>+ <RegExpr String="[^\s]+" attribute="Error" />+ </context>+ <context attribute="Normal Text" lineEndContext="#pop" name="CmdIfCondCmpOperand2">+ <DetectSpaces context="#pop#pop#pop#pop"/>+ <IncludeRules context="FindStrings"/>+ <IncludeRules context="FindSubstitutions"/>+ <DetectIdentifier/>+ </context>+++ <!-- 'for' sub-contexts -->+ <context attribute="Error" lineEndContext="#pop" name="CmdFor">+ <DetectSpaces attribute="Normal Text"/>+ <RegExpr attribute="Variable" context="CmdForIn" String="%%[a-z#$@]" insensitive="1"/>+ <StringDetect attribute="Option" context="#stay" String="/d" insensitive="1"/>+ <StringDetect attribute="Option" context="CmdForR" String="/r" insensitive="1"/>+ <StringDetect attribute="Option" context="CmdForR" String="/f" insensitive="1"/>+ <StringDetect attribute="Option" context="CmdForL" String="/l" insensitive="1"/>+ </context>++ <context attribute="Error" lineEndContext="#pop" name="CmdForIn">+ <DetectSpaces attribute="Normal Text" context="#stay"/>+ <WordDetect attribute="Keyword" context="CmdForList" String="in" insensitive="1"/>+ </context>++ <context attribute="Error" lineEndContext="#pop" name="CmdForList">+ <DetectSpaces attribute="Normal Text" context="#stay"/>+ <DetectChar attribute="Keyword" context="CmdForListBody" char="("/>+ </context>++ <context attribute="Normal Text" lineEndContext="#pop" name="CmdForListBody" fallthroughContext="#pop!CmdForListBodyText">+ <DetectSpaces/>+ <AnyChar String="`'" context="#pop!CmdForListBodyStartCmd"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#pop" name="CmdForListBodyStartCmd" fallthroughContext="#pop!CmdForListBodyText">+ <DetectSpaces/>+ <keyword attribute="Builtin" context="#pop!CmdForListBodyCmd" String="builtins"/>+ <keyword attribute="Command" context="#pop!CmdForListBodyCmd" String="commands"/>+ <RegExpr attribute="Path" context="#pop!CmdForListBodyCmd" String="[^\s%!;*?"><|&]+"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#pop" name="CmdForListBodyCmd">+ <DetectSpaces/>+ <DetectIdentifier/>+ <IncludeRules context="FindStrings"/>+ <IncludeRules context="FindSubstitutions"/>+ <StringDetect attribute="Escape" context="#pop!CmdForListBodyStartCmd" String="^|"/>+ <StringDetect attribute="Escape" context="#pop!CmdForListBodyStartCmd" String="^&"/>+ <IncludeRules context="FindUnquotedStringEscape"/>+ <IncludeRules context="FindRedirections"/>+ <IncludeRules context="FindSpecialCommandOption"/>+ <DetectChar attribute="Keyword" context="CmdForDo" char=")"/>+ <AnyChar attribute="Error" String="&|^<>()"/>+ </context>+ <context attribute="Normal Text" lineEndContext="#pop" name="CmdForListBodyText">+ <DetectSpaces/>+ <DetectIdentifier/>+ <IncludeRules context="FindStrings"/>+ <IncludeRules context="FindSubstitutions"/>+ <DetectChar attribute="Keyword" context="CmdForDo" char=")"/>+ </context>++ <context attribute="Error" lineEndContext="#pop" name="CmdForDo">+ <DetectSpaces attribute="Normal Text" context="#stay"/>+ <WordDetect attribute="Keyword" context="#pop#pop#pop#pop#pop" String="do" insensitive="1"/>+ </context>++ <context attribute="Normal Text" lineEndContext="#pop" name="CmdForR">+ <DetectSpaces attribute="Normal Text"/>+ <IncludeRules context="FindStrings"/>+ <IncludeRules context="FindUnquotedStringEscape"/>+ <RegExpr attribute="Path" String="([a-z][a-z.]*:)?[.]*\\*[^^\s\\%!;/:*?"><|&%]*&eop;" insensitive="1"/>+ <DetectIdentifier attribute="Normal Text"/>+ <RegExpr attribute="Variable" context="#pop!CmdForIn" String="%%[a-z#$@](?=[$\s])" insensitive="1"/>+ <IncludeRules context="FindSubstitutions"/>+ </context>++ <!-- 'for /L' sub-contexts -->+ <context attribute="Error" lineEndContext="#pop" name="CmdForL">+ <DetectSpaces attribute="Normal Text" context="#stay"/>+ <RegExpr attribute="Variable" context="CmdForLIn" String="%%[a-z#$@]" insensitive="1"/>+ </context>++ <context attribute="Error" lineEndContext="#pop" name="CmdForLIn">+ <DetectSpaces attribute="Normal Text" context="#stay"/>+ <WordDetect attribute="Keyword" context="CmdForLRange" String="in" insensitive="1"/>+ </context>++ <context attribute="Error" lineEndContext="#pop" name="CmdForLRange">+ <DetectSpaces attribute="Normal Text" context="#stay"/>+ <DetectChar attribute="Keyword" context="CmdForLStart" char="("/>+ </context>++ <context attribute="Error" lineEndContext="#pop" name="CmdForLStart">+ <DetectSpaces attribute="Normal Text"/>+ <AnyChar attribute="Keyword" String=";,="/>+ <DetectChar attribute="Number" char="-"/>+ <IncludeRules context="FindNumber"/>+ <IncludeRules context="FindVariables"/>+ <DetectChar attribute="Keyword" context="#pop!CmdForDo" char=")"/>+ <DetectIdentifier attribute="String"/>+ </context>++ </contexts>++ <itemDatas>+ <itemData name="Normal Text" defStyleNum="dsNormal"/>+ <itemData name="Comment" defStyleNum="dsComment"/>+ <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false"/>+ <itemData name="ControlFlow" defStyleNum="dsControlFlow" spellChecking="false"/>+ <itemData name="Number" defStyleNum="dsDecVal" spellChecking="false"/>+ <itemData name="Label" defStyleNum="dsOthers"/>+ <itemData name="Builtin" defStyleNum="dsBuiltIn"/>+ <itemData name="Command" defStyleNum="dsKeyword"/>+ <itemData name="Redirection" defStyleNum="dsKeyword" spellChecking="false"/>+ <itemData name="String" defStyleNum="dsString"/>+ <itemData name="Escape" defStyleNum="dsSpecialChar" spellChecking="false"/>+ <itemData name="Echoed Text" defStyleNum="dsNormal"/>+ <itemData name="Variable" defStyleNum="dsVariable"/>+ <itemData name="Variable Expansion" defStyleNum="dsPreprocessor" spellChecking="false"/>+ <itemData name="Path" defStyleNum="dsNormal"/>+ <itemData name="Option" defStyleNum="dsAttribute" spellChecking="false"/>+ <itemData name="Error" defStyleNum="dsError" spellChecking="false"/>+ <itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false"/>+ <itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false"/>+ <itemData name="Symbol" defStyleNum="dsNormal" spellChecking="false"/>+ <itemData name="Operator" defStyleNum="dsOperator" spellChecking="false"/>+ </itemDatas>+ </highlighting>+ <general>+ <comments>+ <comment name="singleLine" start="rem "/>+ </comments>+ <keywords casesensitive="0" additionalDeliminator="@"/>+ </general>+</language>+<!-- kate: replace-tabs on; tab-width 2; indent-width 2; -->
xml/dtd.xml view
@@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?>-<!DOCTYPE language [+<!DOCTYPE language[ <!ENTITY nmtoken "[\-\w\d\.:_]+"> <!ENTITY entref "(#[0-9]+|#[xX][0-9A-Fa-f]+|&nmtoken;);"> ]>
− xml/dtd.xml.patch
@@ -1,11 +0,0 @@-diff --git a/skylighting-core/xml/dtd.xml b/skylighting-core/xml/dtd.xml-index 0526efc..15c82a1 100644---- a/skylighting-core/xml/dtd.xml-+++ b/skylighting-core/xml/dtd.xml-@@ -1,5 +1,5 @@- <?xml version="1.0" encoding="utf-8"?>--<!DOCTYPE language[-+<!DOCTYPE language [- <!ENTITY nmtoken "[\-\w\d\.:_]+">- <!ENTITY entref "(#[0-9]+|#[xX][0-9A-Fa-f]+|&nmtoken;);">- ]>