diff options
author | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-11-06 11:50:51 +0100 |
---|---|---|
committer | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-11-06 11:50:51 +0100 |
commit | 14b660c1b43c74e8db2abb51e38e7a1aa38220a2 (patch) | |
tree | f78a8637465b7a4c9624fef03d27eb7aeaa779d4 /highlighting | |
parent | b2d73bee5e123c5e69352a447d4bc318132612d9 (diff) | |
download | docbook-xsl-stylesheets-14b660c1b43c74e8db2abb51e38e7a1aa38220a2.tar.gz docbook-xsl-stylesheets-14b660c1b43c74e8db2abb51e38e7a1aa38220a2.tar.bz2 docbook-xsl-stylesheets-14b660c1b43c74e8db2abb51e38e7a1aa38220a2.zip |
Imported Upstream version 1.78.1upstream/1.78.1
Diffstat (limited to 'highlighting')
-rw-r--r-- | highlighting/bourne-hl.xml | 95 | ||||
-rw-r--r-- | highlighting/c-hl.xml | 42 | ||||
-rw-r--r-- | highlighting/cmake-hl.xml | 187 | ||||
-rw-r--r-- | highlighting/cpp-hl.xml | 3 | ||||
-rw-r--r-- | highlighting/csharp-hl.xml | 1 | ||||
-rw-r--r-- | highlighting/css21-hl.xml | 176 | ||||
-rw-r--r-- | highlighting/lua-hl.xml | 140 | ||||
-rw-r--r-- | highlighting/php-hl.xml | 7 | ||||
-rw-r--r-- | highlighting/sql1999-hl.xml | 496 | ||||
-rw-r--r-- | highlighting/sql2003-hl.xml | 565 | ||||
-rw-r--r-- | highlighting/sql92-hl.xml | 339 | ||||
-rw-r--r-- | highlighting/upc-hl.xml | 133 | ||||
-rw-r--r-- | highlighting/xslthl-config.xml | 12 |
13 files changed, 2180 insertions, 16 deletions
diff --git a/highlighting/bourne-hl.xml b/highlighting/bourne-hl.xml new file mode 100644 index 0000000..e2cd98d --- /dev/null +++ b/highlighting/bourne-hl.xml @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + +Syntax highlighting definition for SH + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2010 Mathieu Malaterre + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +--> +<highlighters> + <highlighter type="oneline-comment">#</highlighter> + <highlighter type="heredoc"> + <start><<</start> + <quote>'</quote> + <quote>"</quote> + <flag>-</flag> + <noWhiteSpace /> + <looseTerminator /> + </highlighter> + <highlighter type="string"> + <string>"</string> + <escape>\</escape> + </highlighter> + <highlighter type="string"> + <string>'</string> + <escape>\</escape> + <spanNewLines /> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <ignoreCase /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <!-- reserved words --> + <keyword>if</keyword> + <keyword>then</keyword> + <keyword>else</keyword> + <keyword>elif</keyword> + <keyword>fi</keyword> + <keyword>case</keyword> + <keyword>esac</keyword> + <keyword>for</keyword> + <keyword>while</keyword> + <keyword>until</keyword> + <keyword>do</keyword> + <keyword>done</keyword> + <!-- built-ins --> + <keyword>exec</keyword> + <keyword>shift</keyword> + <keyword>exit</keyword> + <keyword>times</keyword> + <keyword>break</keyword> + <keyword>export</keyword> + <keyword>trap</keyword> + <keyword>continue</keyword> + <keyword>readonly</keyword> + <keyword>wait</keyword> + <keyword>eval</keyword> + <keyword>return</keyword> + <!-- other commands --> + <keyword>cd</keyword> + <keyword>echo</keyword> + <keyword>hash</keyword> + <keyword>pwd</keyword> + <keyword>read</keyword> + <keyword>set</keyword> + <keyword>test</keyword> + <keyword>type</keyword> + <keyword>ulimit</keyword> + <keyword>umask</keyword> + <keyword>unset</keyword> + </highlighter> +</highlighters> diff --git a/highlighting/c-hl.xml b/highlighting/c-hl.xml index 1503dd1..81077ac 100644 --- a/highlighting/c-hl.xml +++ b/highlighting/c-hl.xml @@ -1,16 +1,31 @@ <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Syntax highlighting definition for C xslthl - XSLT Syntax Highlighting http://sourceforge.net/projects/xslthl/
- Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks This software is provided 'as-is', without any
- express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this
- software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and
- to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not
- be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an
- acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must
- be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be
- removed or altered from any source distribution. Michal Molhanec <mol1111 at users.sourceforge.net> Jirka Kosek <kosek
- at users.sourceforge.net> Michiel Hendriks <elmuerte at users.sourceforge.net>
- -->
+<!--
+Syntax highlighting definition for C
+
+xslthl - XSLT Syntax Highlighting
+http://sourceforge.net/projects/xslthl/
+Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+3. This notice may not be removed or altered from any source distribution.
+
+Michal Molhanec <mol1111 at users.sourceforge.net>
+Jirka Kosek <kosek at users.sourceforge.net>
+Michiel Hendriks <elmuerte at users.sourceforge.net>
+-->
<highlighters>
<highlighter type="multiline-comment">
<start>/**</start>
@@ -18,7 +33,7 @@ <style>doccomment</style>
</highlighter>
<highlighter type="oneline-comment">
- <start>///</start>
+ <start><![CDATA[/// ]]></start>
<style>doccomment</style>
</highlighter>
<highlighter type="multiline-comment">
@@ -31,6 +46,7 @@ <start>#</start>
<lineBreakEscape>\</lineBreakEscape>
<style>directive</style>
+ <solitary />
</highlighter>
<highlighter type="string">
<string>"</string>
diff --git a/highlighting/cmake-hl.xml b/highlighting/cmake-hl.xml new file mode 100644 index 0000000..22921f4 --- /dev/null +++ b/highlighting/cmake-hl.xml @@ -0,0 +1,187 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for CMake +Copyright (c) 2010 Mathieu Malaterre + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not +claim that you wrote the original software. If you use this software +in a product, an acknowledgment in the product documentation would be +appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be +misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +--> +<highlighters> + <highlighter type="oneline-comment">#</highlighter> + <highlighter type="string"> + <string>"</string> + <endString>"</endString> + <spanNewLines /> + </highlighter> + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <suffix>l</suffix> + <ignoreCase /> + <style>string</style> + </highlighter> + <highlighter type="number"> + <point>.</point> + <ignoreCase /> + <style>string</style> + </highlighter> + <highlighter type="keywords"> + <!-- system variable --> + <keyword>WIN32</keyword> + <keyword>UNIX</keyword> + <keyword>APPLE</keyword> + <keyword>CYGWIN</keyword> + <keyword>BORLAND</keyword> + <keyword>MINGW</keyword> + <keyword>MSVC</keyword> + <keyword>MSVC_IDE</keyword> + <keyword>MSVC60</keyword> + <keyword>MSVC70</keyword> + <keyword>MSVC71</keyword> + <keyword>MSVC80</keyword> + <style>attribute</style> + </highlighter> + <highlighter type="keywords"> + <!-- operators --> + <keyword>AND</keyword> + <keyword>BOOL</keyword> + <keyword>CACHE</keyword> + <keyword>COMMAND</keyword> + <keyword>DEFINED</keyword> + <keyword>DOC</keyword> + <keyword>EQUAL</keyword> + <keyword>EXISTS</keyword> + <keyword>FALSE</keyword> + <keyword>GREATER</keyword> + <keyword>INTERNAL</keyword> + <keyword>LESS</keyword> + <keyword>MATCHES</keyword> + <keyword>NAME</keyword> + <keyword>NAMES</keyword> + <keyword>NAME_WE</keyword> + <keyword>NOT</keyword> + <keyword>OFF</keyword> + <keyword>ON</keyword> + <keyword>OR</keyword> + <keyword>PATH</keyword> + <keyword>PATHS</keyword> + <keyword>PROGRAM</keyword> + <keyword>STREQUAL</keyword> + <keyword>STRGREATER</keyword> + <keyword>STRING</keyword> + <keyword>STRLESS</keyword> + <keyword>TRUE</keyword> + <!-- color in blue --> + <!--style>doccomment</style> --> + <style>keyword</style> + </highlighter> + <highlighter type="keywords"> + <!-- statement --> + <keyword>ADD_CUSTOM_COMMAND</keyword> + <keyword>ADD_CUSTOM_TARGET</keyword> + <keyword>ADD_DEFINITIONS</keyword> + <keyword>ADD_DEPENDENCIES</keyword> + <keyword>ADD_EXECUTABLE</keyword> + <keyword>ADD_LIBRARY</keyword> + <keyword>ADD_SUBDIRECTORY</keyword> + <keyword>ADD_TEST</keyword> + <keyword>AUX_SOURCE_DIRECTORY</keyword> + <keyword>BUILD_COMMAND</keyword> + <keyword>BUILD_NAME</keyword> + <keyword>CMAKE_MINIMUM_REQUIRED</keyword> + <keyword>CONFIGURE_FILE</keyword> + <keyword>CREATE_TEST_SOURCELIST</keyword> + <keyword>ELSE</keyword> + <keyword>ELSEIF</keyword> + <keyword>ENABLE_LANGUAGE</keyword> + <keyword>ENABLE_TESTING</keyword> + <keyword>ENDFOREACH</keyword> + <keyword>ENDIF</keyword> + <keyword>ENDWHILE</keyword> + <keyword>EXEC_PROGRAM</keyword> + <keyword>EXECUTE_PROCESS</keyword> + <keyword>EXPORT_LIBRARY_DEPENDENCIES</keyword> + <keyword>FILE</keyword> + <keyword>FIND_FILE</keyword> + <keyword>FIND_LIBRARY</keyword> + <keyword>FIND_PACKAGE</keyword> + <keyword>FIND_PATH</keyword> + <keyword>FIND_PROGRAM</keyword> + <keyword>FLTK_WRAP_UI</keyword> + <keyword>FOREACH</keyword> + <keyword>GET_CMAKE_PROPERTY</keyword> + <keyword>GET_DIRECTORY_PROPERTY</keyword> + <keyword>GET_FILENAME_COMPONENT</keyword> + <keyword>GET_SOURCE_FILE_PROPERTY</keyword> + <keyword>GET_TARGET_PROPERTY</keyword> + <keyword>GET_TEST_PROPERTY</keyword> + <keyword>IF</keyword> + <keyword>INCLUDE</keyword> + <keyword>INCLUDE_DIRECTORIES</keyword> + <keyword>INCLUDE_EXTERNAL_MSPROJECT</keyword> + <keyword>INCLUDE_REGULAR_EXPRESSION</keyword> + <keyword>INSTALL</keyword> + <keyword>INSTALL_FILES</keyword> + <keyword>INSTALL_PROGRAMS</keyword> + <keyword>INSTALL_TARGETS</keyword> + <keyword>LINK_DIRECTORIES</keyword> + <keyword>LINK_LIBRARIES</keyword> + <keyword>LIST</keyword> + <keyword>LOAD_CACHE</keyword> + <keyword>LOAD_COMMAND</keyword> + <keyword>MACRO</keyword> + <keyword>MAKE_DIRECTORY</keyword> + <keyword>MARK_AS_ADVANCED</keyword> + <keyword>MATH</keyword> + <keyword>MESSAGE</keyword> + <keyword>OPTION</keyword> + <keyword>OUTPUT_REQUIRED_FILES</keyword> + <keyword>PROJECT</keyword> + <keyword>QT_WRAP_CPP</keyword> + <keyword>QT_WRAP_UI</keyword> + <keyword>REMOVE</keyword> + <keyword>REMOVE_DEFINITIONS</keyword> + <keyword>SEPARATE_ARGUMENTS</keyword> + <keyword>SET</keyword> + <keyword>SET_DIRECTORY_PROPERTIES</keyword> + <keyword>SET_SOURCE_FILES_PROPERTIES</keyword> + <keyword>SET_TARGET_PROPERTIES</keyword> + <keyword>SET_TESTS_PROPERTIES</keyword> + <keyword>SITE_NAME</keyword> + <keyword>SOURCE_GROUP</keyword> + <keyword>STRING</keyword> + <keyword>SUBDIR_DEPENDS</keyword> + <keyword>SUBDIRS</keyword> + <keyword>TARGET_LINK_LIBRARIES</keyword> + <keyword>TRY_COMPILE</keyword> + <keyword>TRY_RUN</keyword> + <keyword>USE_MANGLED_MESA</keyword> + <keyword>UTILITY_SOURCE</keyword> + <keyword>VARIABLE_REQUIRES</keyword> + <keyword>VTK_MAKE_INSTANTIATOR</keyword> + <keyword>VTK_WRAP_JAVA</keyword> + <keyword>VTK_WRAP_PYTHON</keyword> + <keyword>VTK_WRAP_TCL</keyword> + <keyword>WHILE</keyword> + <keyword>WRITE_FILE</keyword> + <keyword>ENDMACRO</keyword> + <ignoreCase /> + <beginChars>()</beginChars> + <partChars>()</partChars> + <style>directive</style> + </highlighter> +</highlighters> diff --git a/highlighting/cpp-hl.xml b/highlighting/cpp-hl.xml index db57d5e..347eb72 100644 --- a/highlighting/cpp-hl.xml +++ b/highlighting/cpp-hl.xml @@ -35,7 +35,7 @@ Michiel Hendriks <elmuerte at users.sourceforge.net> <style>doccomment</style>
</highlighter>
<highlighter type="oneline-comment">
- <start>///</start>
+ <start><![CDATA[/// ]]></start>
<style>doccomment</style>
</highlighter>
<highlighter type="multiline-comment">
@@ -48,6 +48,7 @@ Michiel Hendriks <elmuerte at users.sourceforge.net> <start>#</start>
<lineBreakEscape>\</lineBreakEscape>
<style>directive</style>
+ <solitary/>
</highlighter>
<highlighter type="string">
<string>"</string>
diff --git a/highlighting/csharp-hl.xml b/highlighting/csharp-hl.xml index 8ab5fda..f352ead 100644 --- a/highlighting/csharp-hl.xml +++ b/highlighting/csharp-hl.xml @@ -55,6 +55,7 @@ Michiel Hendriks <elmuerte at users.sourceforge.net> <start>#</start>
<lineBreakEscape>\</lineBreakEscape>
<style>directive</style>
+ <solitary/>
</highlighter>
<highlighter type="string">
<!-- strings starting with an "@" can span multiple lines -->
diff --git a/highlighting/css21-hl.xml b/highlighting/css21-hl.xml new file mode 100644 index 0000000..2a42b7c --- /dev/null +++ b/highlighting/css21-hl.xml @@ -0,0 +1,176 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+Syntax highlighting definition for CSS files
+
+xslthl - XSLT Syntax Highlighting
+http://sourceforge.net/projects/xslthl/
+Copyright (C) 2011-2012 Martin Hujer, Michiel Hendriks
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+3. This notice may not be removed or altered from any source distribution.
+
+Martin Hujer <mhujer at users.sourceforge.net>
+Michiel Hendriks <elmuerte at users.sourceforge.net>
+
+Reference: http://www.w3.org/TR/CSS21/propidx.html
+
+-->
+<highlighters>
+ <highlighter type="multiline-comment">
+ <start>/*</start>
+ <end>*/</end>
+ </highlighter>
+ <highlighter type="string">
+ <string>"</string>
+ <escape>\</escape>
+ <spanNewLines/>
+ </highlighter>
+ <highlighter type="string">
+ <string>'</string>
+ <escape>\</escape>
+ <spanNewLines/>
+ </highlighter>
+ <highlighter type="number">
+ <point>.</point>
+ <pointStarts />
+ </highlighter>
+ <highlighter type="word">
+ <word>@charset</word>
+ <word>@import</word>
+ <word>@media</word>
+ <word>@page</word>
+ <style>directive</style>
+ </highlighter>
+ <highlighter type="keywords">
+ <partChars>-</partChars>
+ <keyword>azimuth</keyword>
+ <keyword>background-attachment</keyword>
+ <keyword>background-color</keyword>
+ <keyword>background-image</keyword>
+ <keyword>background-position</keyword>
+ <keyword>background-repeat</keyword>
+ <keyword>background</keyword>
+ <keyword>border-collapse</keyword>
+ <keyword>border-color</keyword>
+ <keyword>border-spacing</keyword>
+ <keyword>border-style</keyword>
+ <keyword>border-top</keyword>
+ <keyword>border-right</keyword>
+ <keyword>border-bottom</keyword>
+ <keyword>border-left</keyword>
+ <keyword>border-top-color</keyword>
+ <keyword>border-right-color</keyword>
+ <keyword>border-bottom-color</keyword>
+ <keyword>border-left-color</keyword>
+ <keyword>border-top-style</keyword>
+ <keyword>border-right-style</keyword>
+ <keyword>border-bottom-style</keyword>
+ <keyword>border-left-style</keyword>
+ <keyword>border-top-width</keyword>
+ <keyword>border-right-width</keyword>
+ <keyword>border-bottom-width</keyword>
+ <keyword>border-left-width</keyword>
+ <keyword>border-width</keyword>
+ <keyword>border</keyword>
+ <keyword>bottom</keyword>
+ <keyword>caption-side</keyword>
+ <keyword>clear</keyword>
+ <keyword>clip</keyword>
+ <keyword>color</keyword>
+ <keyword>content</keyword>
+ <keyword>counter-increment</keyword>
+ <keyword>counter-reset</keyword>
+ <keyword>cue-after</keyword>
+ <keyword>cue-before</keyword>
+ <keyword>cue</keyword>
+ <keyword>cursor</keyword>
+ <keyword>direction</keyword>
+ <keyword>display</keyword>
+ <keyword>elevation</keyword>
+ <keyword>empty-cells</keyword>
+ <keyword>float</keyword>
+ <keyword>font-family</keyword>
+ <keyword>font-size</keyword>
+ <keyword>font-style</keyword>
+ <keyword>font-variant</keyword>
+ <keyword>font-weight</keyword>
+ <keyword>font</keyword>
+ <keyword>height</keyword>
+ <keyword>left</keyword>
+ <keyword>letter-spacing</keyword>
+ <keyword>line-height</keyword>
+ <keyword>list-style-image</keyword>
+ <keyword>list-style-position</keyword>
+ <keyword>list-style-type</keyword>
+ <keyword>list-style</keyword>
+ <keyword>margin-right</keyword>
+ <keyword>margin-left</keyword>
+ <keyword>margin-top</keyword>
+ <keyword>margin-bottom</keyword>
+ <keyword>margin</keyword>
+ <keyword>max-height</keyword>
+ <keyword>max-width</keyword>
+ <keyword>min-height</keyword>
+ <keyword>min-width</keyword>
+ <keyword>orphans</keyword>
+ <keyword>outline-color</keyword>
+ <keyword>outline-style</keyword>
+ <keyword>outline-width</keyword>
+ <keyword>outline</keyword>
+ <keyword>overflow</keyword>
+ <keyword>padding-top</keyword>
+ <keyword>padding-right</keyword>
+ <keyword>padding-bottom</keyword>
+ <keyword>padding-left</keyword>
+ <keyword>padding</keyword>
+ <keyword>page-break-after</keyword>
+ <keyword>page-break-before</keyword>
+ <keyword>page-break-inside</keyword>
+ <keyword>pause-after</keyword>
+ <keyword>pause-before</keyword>
+ <keyword>pause</keyword>
+ <keyword>pitch-range</keyword>
+ <keyword>pitch</keyword>
+ <keyword>play-during</keyword>
+ <keyword>position</keyword>
+ <keyword>quotes</keyword>
+ <keyword>richness</keyword>
+ <keyword>right</keyword>
+ <keyword>speak-header</keyword>
+ <keyword>speak-numeral</keyword>
+ <keyword>speak-punctuation</keyword>
+ <keyword>speak</keyword>
+ <keyword>speech-rate</keyword>
+ <keyword>stress</keyword>
+ <keyword>table-layout</keyword>
+ <keyword>text-align</keyword>
+ <keyword>text-decoration</keyword>
+ <keyword>text-indent</keyword>
+ <keyword>text-transform</keyword>
+ <keyword>top</keyword>
+ <keyword>unicode-bidi</keyword>
+ <keyword>vertical-align</keyword>
+ <keyword>visibility</keyword>
+ <keyword>voice-family</keyword>
+ <keyword>volume</keyword>
+ <keyword>white-space</keyword>
+ <keyword>widows</keyword>
+ <keyword>width</keyword>
+ <keyword>word-spacing</keyword>
+ <keyword>z-index</keyword>
+ </highlighter>
+</highlighters>
diff --git a/highlighting/lua-hl.xml b/highlighting/lua-hl.xml new file mode 100644 index 0000000..525fba9 --- /dev/null +++ b/highlighting/lua-hl.xml @@ -0,0 +1,140 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + +Syntax highlighting definition for Lua 5.1 and 5.2 + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2012 Patrick Rapin + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + + If you want to send an e-mail to Patrick Rapin, please execute the + following decrypting script in Lua 5.1 or 5.2: + print(('oc mia.l@kmgrtci.naparip'):gsub('(..)(..)','%2%1'):reverse()) +--> + +<highlighters> + <highlighter type="keywords"> + <keyword>and</keyword> + <keyword>break</keyword> + <keyword>do</keyword> + <keyword>else</keyword> + <keyword>elseif</keyword> + <keyword>end</keyword> + <keyword>false</keyword> + <keyword>for</keyword> + <keyword>function</keyword> + <keyword>goto</keyword> + <keyword>if</keyword> + <keyword>in</keyword> + <keyword>local</keyword> + <keyword>nil</keyword> + <keyword>not</keyword> + <keyword>or</keyword> + <keyword>repeat</keyword> + <keyword>return</keyword> + <keyword>then</keyword> + <keyword>true</keyword> + <keyword>until</keyword> + <keyword>while</keyword> + </highlighter> + + <!-- Multiline comments can have any number of equal signs + between brackets. Let's support up to 4 --> + <highlighter type="multiline-comment"> + <start>--[[</start> + <end>]]</end> + </highlighter> + <highlighter type="multiline-comment"> + <start>--[=[</start> + <end>]=]</end> + </highlighter> + <highlighter type="multiline-comment"> + <start>--[==[</start> + <end>]==]</end> + </highlighter> + <highlighter type="multiline-comment"> + <start>--[===[</start> + <end>]===]</end> + </highlighter> + <highlighter type="multiline-comment"> + <start>--[====[</start> + <end>]====]</end> + </highlighter> + + <highlighter type="oneline-comment"> + -- + </highlighter> + + <highlighter type="string"> + <string>"</string> + <endString>"</endString> + <escape>\</escape> + <spanNewLines/> + </highlighter> + + <highlighter type="string"> + <string>'</string> + <endString>'</endString> + <escape>\</escape> + <spanNewLines/> + </highlighter> + + <!-- Long strings can also have any number of equal signs. --> + <highlighter type="string"> + <string>[[</string> + <endString>]]</endString> + <spanNewLines/> + </highlighter> + <highlighter type="string"> + <string>[=[</string> + <endString>]=]</endString> + <spanNewLines/> + </highlighter> + <highlighter type="string"> + <string>[==[</string> + <endString>]==]</endString> + <spanNewLines/> + </highlighter> + <highlighter type="string"> + <string>[===[</string> + <endString>]===]</endString> + <spanNewLines/> + </highlighter> + <highlighter type="string"> + <string>[====[</string> + <endString>]====]</endString> + <spanNewLines/> + </highlighter> + + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <exponent>e</exponent> + <ignoreCase /> + </highlighter> + + <highlighter type="hexnumber"> + <prefix>0x</prefix> + <point>.</point> + <pointStarts /> + <exponent>p</exponent> + <ignoreCase /> + </highlighter> + +</highlighters> diff --git a/highlighting/php-hl.xml b/highlighting/php-hl.xml index 4a70225..73f926c 100644 --- a/highlighting/php-hl.xml +++ b/highlighting/php-hl.xml @@ -35,7 +35,7 @@ Michiel Hendriks <elmuerte at users.sourceforge.net> <style>doccomment</style>
</highlighter>
<highlighter type="oneline-comment">
- <start>///</start>
+ <start><![CDATA[/// ]]></start>
<style>doccomment</style>
</highlighter>
<highlighter type="multiline-comment">
@@ -137,6 +137,11 @@ Michiel Hendriks <elmuerte at users.sourceforge.net> <keyword>old_function</keyword>
<keyword>true</keyword>
<keyword>false</keyword>
+ <!-- PHP 5.3 -->
+ <keyword>namespace</keyword>
+ <keyword>__NAMESPACE__</keyword>
+ <keyword>goto</keyword>
+ <keyword>__DIR__</keyword>
<ignoreCase />
</highlighter>
<highlighter type="word">
diff --git a/highlighting/sql1999-hl.xml b/highlighting/sql1999-hl.xml new file mode 100644 index 0000000..61b2411 --- /dev/null +++ b/highlighting/sql1999-hl.xml @@ -0,0 +1,496 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + +Syntax highlighting definition for SQL:1999 + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2012 Michiel Hendriks, Martin Hujer, k42b3 + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +--> +<highlighters> + <highlighter type="oneline-comment">--</highlighter> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="string"> + <string>'</string> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>B'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>N'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>X'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <exponent>e</exponent> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <ignoreCase /> + <!-- reserved --> + <keyword>ABSOLUTE</keyword> + <keyword>ACTION</keyword> + <keyword>ADD</keyword> + <keyword>AFTER</keyword> + <keyword>ALL</keyword> + <keyword>ALLOCATE</keyword> + <keyword>ALTER</keyword> + <keyword>AND</keyword> + <keyword>ANY</keyword> + <keyword>ARE</keyword> + <keyword>ARRAY</keyword> + <keyword>AS</keyword> + <keyword>ASC</keyword> + <keyword>ASSERTION</keyword> + <keyword>AT</keyword> + <keyword>AUTHORIZATION</keyword> + <keyword>BEFORE</keyword> + <keyword>BEGIN</keyword> + <keyword>BETWEEN</keyword> + <keyword>BINARY</keyword> + <keyword>BIT</keyword> + <keyword>BLOB</keyword> + <keyword>BOOLEAN</keyword> + <keyword>BOTH</keyword> + <keyword>BREADTH</keyword> + <keyword>BY</keyword> + <keyword>CALL</keyword> + <keyword>CASCADE</keyword> + <keyword>CASCADED</keyword> + <keyword>CASE</keyword> + <keyword>CAST</keyword> + <keyword>CATALOG</keyword> + <keyword>CHAR</keyword> + <keyword>CHARACTER</keyword> + <keyword>CHECK</keyword> + <keyword>CLOB</keyword> + <keyword>CLOSE</keyword> + <keyword>COLLATE</keyword> + <keyword>COLLATION</keyword> + <keyword>COLUMN</keyword> + <keyword>COMMIT</keyword> + <keyword>CONDITION</keyword> + <keyword>CONNECT</keyword> + <keyword>CONNECTION</keyword> + <keyword>CONSTRAINT</keyword> + <keyword>CONSTRAINTS</keyword> + <keyword>CONSTRUCTOR</keyword> + <keyword>CONTINUE</keyword> + <keyword>CORRESPONDING</keyword> + <keyword>CREATE</keyword> + <keyword>CROSS</keyword> + <keyword>CUBE</keyword> + <keyword>CURRENT</keyword> + <keyword>CURRENT_DATE</keyword> + <keyword>CURRENT_DEFAULT_TRANSFORM_GROUP</keyword> + <keyword>CURRENT_TRANSFORM_GROUP_FOR_TYPE</keyword> + <keyword>CURRENT_PATH</keyword> + <keyword>CURRENT_ROLE</keyword> + <keyword>CURRENT_TIME</keyword> + <keyword>CURRENT_TIMESTAMP</keyword> + <keyword>CURRENT_USER</keyword> + <keyword>CURSOR</keyword> + <keyword>CYCLE</keyword> + <keyword>DATA</keyword> + <keyword>DATE</keyword> + <keyword>DAY</keyword> + <keyword>DEALLOCATE</keyword> + <keyword>DEC</keyword> + <keyword>DECIMAL</keyword> + <keyword>DECLARE</keyword> + <keyword>DEFAULT</keyword> + <keyword>DEFERRABLE</keyword> + <keyword>DEFERRED</keyword> + <keyword>DELETE</keyword> + <keyword>DEPTH</keyword> + <keyword>DEREF</keyword> + <keyword>DESC</keyword> + <keyword>DESCRIBE</keyword> + <keyword>DESCRIPTOR</keyword> + <keyword>DETERMINISTIC</keyword> + <keyword>DIAGNOSTICS</keyword> + <keyword>DISCONNECT</keyword> + <keyword>DISTINCT</keyword> + <keyword>DO</keyword> + <keyword>DOMAIN</keyword> + <keyword>DOUBLE</keyword> + <keyword>DROP</keyword> + <keyword>DYNAMIC</keyword> + <keyword>EACH</keyword> + <keyword>ELSE</keyword> + <keyword>ELSEIF</keyword> + <keyword>END</keyword> + <keyword>END-EXEC</keyword> + <keyword>EQUALS</keyword> + <keyword>ESCAPE</keyword> + <keyword>EXCEPT</keyword> + <keyword>EXCEPTION</keyword> + <keyword>EXEC</keyword> + <keyword>EXECUTE</keyword> + <keyword>EXISTS</keyword> + <keyword>EXIT</keyword> + <keyword>EXTERNAL</keyword> + <keyword>FALSE</keyword> + <keyword>FETCH</keyword> + <keyword>FIRST</keyword> + <keyword>FLOAT</keyword> + <keyword>FOR</keyword> + <keyword>FOREIGN</keyword> + <keyword>FOUND</keyword> + <keyword>FROM</keyword> + <keyword>FREE</keyword> + <keyword>FULL</keyword> + <keyword>FUNCTION</keyword> + <keyword>GENERAL</keyword> + <keyword>GET</keyword> + <keyword>GLOBAL</keyword> + <keyword>GO</keyword> + <keyword>GOTO</keyword> + <keyword>GRANT</keyword> + <keyword>GROUP</keyword> + <keyword>GROUPING</keyword> + <keyword>HANDLE</keyword> + <keyword>HAVING</keyword> + <keyword>HOLD</keyword> + <keyword>HOUR</keyword> + <keyword>IDENTITY</keyword> + <keyword>IF</keyword> + <keyword>IMMEDIATE</keyword> + <keyword>IN</keyword> + <keyword>INDICATOR</keyword> + <keyword>INITIALLY</keyword> + <keyword>INNER</keyword> + <keyword>INOUT</keyword> + <keyword>INPUT</keyword> + <keyword>INSERT</keyword> + <keyword>INT</keyword> + <keyword>INTEGER</keyword> + <keyword>INTERSECT</keyword> + <keyword>INTERVAL</keyword> + <keyword>INTO</keyword> + <keyword>IS</keyword> + <keyword>ISOLATION</keyword> + <keyword>JOIN</keyword> + <keyword>KEY</keyword> + <keyword>LANGUAGE</keyword> + <keyword>LARGE</keyword> + <keyword>LAST</keyword> + <keyword>LATERAL</keyword> + <keyword>LEADING</keyword> + <keyword>LEAVE</keyword> + <keyword>LEFT</keyword> + <keyword>LEVEL</keyword> + <keyword>LIKE</keyword> + <keyword>LOCAL</keyword> + <keyword>LOCALTIME</keyword> + <keyword>LOCALTIMESTAMP</keyword> + <keyword>LOCATOR</keyword> + <keyword>LOOP</keyword> + <keyword>MAP</keyword> + <keyword>MATCH</keyword> + <keyword>METHOD</keyword> + <keyword>MINUTE</keyword> + <keyword>MODIFIES</keyword> + <keyword>MODULE</keyword> + <keyword>MONTH</keyword> + <keyword>NAMES</keyword> + <keyword>NATIONAL</keyword> + <keyword>NATURAL</keyword> + <keyword>NCHAR</keyword> + <keyword>NCLOB</keyword> + <keyword>NESTING</keyword> + <keyword>NEW</keyword> + <keyword>NEXT</keyword> + <keyword>NO</keyword> + <keyword>NONE</keyword> + <keyword>NOT</keyword> + <keyword>NULL</keyword> + <keyword>NUMERIC</keyword> + <keyword>OBJECT</keyword> + <keyword>OF</keyword> + <keyword>OLD</keyword> + <keyword>ON</keyword> + <keyword>ONLY</keyword> + <keyword>OPEN</keyword> + <keyword>OPTION</keyword> + <keyword>OR</keyword> + <keyword>ORDER</keyword> + <keyword>ORDINALITY</keyword> + <keyword>OUT</keyword> + <keyword>OUTER</keyword> + <keyword>OUTPUT</keyword> + <keyword>OVERLAPS</keyword> + <keyword>PAD</keyword> + <keyword>PARAMETER</keyword> + <keyword>PARTIAL</keyword> + <keyword>PATH</keyword> + <keyword>PRECISION</keyword> + <keyword>PREPARE</keyword> + <keyword>PRESERVE</keyword> + <keyword>PRIMARY</keyword> + <keyword>PRIOR</keyword> + <keyword>PRIVILEGES</keyword> + <keyword>PROCEDURE</keyword> + <keyword>PUBLIC</keyword> + <keyword>READ</keyword> + <keyword>READS</keyword> + <keyword>REAL</keyword> + <keyword>RECURSIVE</keyword> + <keyword>REDO</keyword> + <keyword>REF</keyword> + <keyword>REFERENCES</keyword> + <keyword>REFERENCING</keyword> + <keyword>RELATIVE</keyword> + <keyword>RELEASE</keyword> + <keyword>REPEAT</keyword> + <keyword>RESIGNAL</keyword> + <keyword>RESTRICT</keyword> + <keyword>RESULT</keyword> + <keyword>RETURN</keyword> + <keyword>RETURNS</keyword> + <keyword>REVOKE</keyword> + <keyword>RIGHT</keyword> + <keyword>ROLE</keyword> + <keyword>ROLLBACK</keyword> + <keyword>ROLLUP</keyword> + <keyword>ROUTINE</keyword> + <keyword>ROW</keyword> + <keyword>ROWS</keyword> + <keyword>SAVEPOINT</keyword> + <keyword>SCHEMA</keyword> + <keyword>SCROLL</keyword> + <keyword>SEARCH</keyword> + <keyword>SECOND</keyword> + <keyword>SECTION</keyword> + <keyword>SELECT</keyword> + <keyword>SESSION</keyword> + <keyword>SESSION_USER</keyword> + <keyword>SET</keyword> + <keyword>SETS</keyword> + <keyword>SIGNAL</keyword> + <keyword>SIMILAR</keyword> + <keyword>SIZE</keyword> + <keyword>SMALLINT</keyword> + <keyword>SOME</keyword> + <keyword>SPACE</keyword> + <keyword>SPECIFIC</keyword> + <keyword>SPECIFICTYPE</keyword> + <keyword>SQL</keyword> + <keyword>SQLEXCEPTION</keyword> + <keyword>SQLSTATE</keyword> + <keyword>SQLWARNING</keyword> + <keyword>START</keyword> + <keyword>STATE</keyword> + <keyword>STATIC</keyword> + <keyword>SYSTEM_USER</keyword> + <keyword>TABLE</keyword> + <keyword>TEMPORARY</keyword> + <keyword>THEN</keyword> + <keyword>TIME</keyword> + <keyword>TIMESTAMP</keyword> + <keyword>TIMEZONE_HOUR</keyword> + <keyword>TIMEZONE_MINUTE</keyword> + <keyword>TO</keyword> + <keyword>TRAILING</keyword> + <keyword>TRANSACTION</keyword> + <keyword>TRANSLATION</keyword> + <keyword>TREAT</keyword> + <keyword>TRIGGER</keyword> + <keyword>TRUE</keyword> + <keyword>UNDER</keyword> + <keyword>UNDO</keyword> + <keyword>UNION</keyword> + <keyword>UNIQUE</keyword> + <keyword>UNKNOWN</keyword> + <keyword>UNNEST</keyword> + <keyword>UNTIL</keyword> + <keyword>UPDATE</keyword> + <keyword>USAGE</keyword> + <keyword>USER</keyword> + <keyword>USING</keyword> + <keyword>VALUE</keyword> + <keyword>VALUES</keyword> + <keyword>VARCHAR</keyword> + <keyword>VARYING</keyword> + <keyword>VIEW</keyword> + <keyword>WHEN</keyword> + <keyword>WHENEVER</keyword> + <keyword>WHERE</keyword> + <keyword>WHILE</keyword> + <keyword>WITH</keyword> + <keyword>WITHOUT</keyword> + <keyword>WORK</keyword> + <keyword>WRITE</keyword> + <keyword>YEAR</keyword> + <keyword>ZONE</keyword> + <!-- non reserved --> + <keyword>ABS</keyword> + <keyword>ADA</keyword> + <keyword>ADMIN</keyword> + <keyword>ASENSITIVE</keyword> + <keyword>ASSIGNMENT</keyword> + <keyword>ASYMMETRIC</keyword> + <keyword>ATOMIC</keyword> + <keyword>ATTRIBUTE</keyword> + <keyword>AVG</keyword> + <keyword>BIT_LENGTH</keyword> + <keyword>C</keyword> + <keyword>CALLED</keyword> + <keyword>CARDINALITY</keyword> + <keyword>CATALOG_NAME</keyword> + <keyword>CHAIN</keyword> + <keyword>CHAR_LENGTH</keyword> + <keyword>CHARACTERISTICS</keyword> + <keyword>CHARACTER_LENGTH</keyword> + <keyword>CHARACTER_SET_CATALOG</keyword> + <keyword>CHARACTER_SET_NAME</keyword> + <keyword>CHARACTER_SET_SCHEMA</keyword> + <keyword>CHECKED</keyword> + <keyword>CLASS_ORIGIN</keyword> + <keyword>COALESCE</keyword> + <keyword>COBOL</keyword> + <keyword>COLLATION_CATALOG</keyword> + <keyword>COLLATION_NAME</keyword> + <keyword>COLLATION_SCHEMA</keyword> + <keyword>COLUMN_NAME</keyword> + <keyword>COMMAND_FUNCTION</keyword> + <keyword>COMMAND_FUNCTION_CODE</keyword> + <keyword>COMMITTED</keyword> + <keyword>CONDITION_IDENTIFIER</keyword> + <keyword>CONDITION_NUMBER</keyword> + <keyword>CONNECTION_NAME</keyword> + <keyword>CONSTRAINT_CATALOG</keyword> + <keyword>CONSTRAINT_NAME</keyword> + <keyword>CONSTRAINT_SCHEMA</keyword> + <keyword>CONTAINS</keyword> + <keyword>CONVERT</keyword> + <keyword>COUNT</keyword> + <keyword>CURSOR_NAME</keyword> + <keyword>DATETIME_INTERVAL_CODE</keyword> + <keyword>DATETIME_INTERVAL_PRECISION</keyword> + <keyword>DEFINED</keyword> + <keyword>DEFINER</keyword> + <keyword>DEGREE</keyword> + <keyword>DERIVED</keyword> + <keyword>DISPATCH</keyword> + <keyword>EVERY</keyword> + <keyword>EXTRACT</keyword> + <keyword>FINAL</keyword> + <keyword>FORTRAN</keyword> + <keyword>G</keyword> + <keyword>GENERATED</keyword> + <keyword>GRANTED</keyword> + <keyword>HIERARCHY</keyword> + <keyword>IMPLEMENTATION</keyword> + <keyword>INSENSITIVE</keyword> + <keyword>INSTANCE</keyword> + <keyword>INSTANTIABLE</keyword> + <keyword>INVOKER</keyword> + <keyword>K</keyword> + <keyword>KEY_MEMBER</keyword> + <keyword>KEY_TYPE</keyword> + <keyword>LENGTH</keyword> + <keyword>LOWER</keyword> + <keyword>M</keyword> + <keyword>MAX</keyword> + <keyword>MIN</keyword> + <keyword>MESSAGE_LENGTH</keyword> + <keyword>MESSAGE_OCTET_LENGTH</keyword> + <keyword>MESSAGE_TEXT</keyword> + <keyword>MOD</keyword> + <keyword>MORE</keyword> + <keyword>MUMPS</keyword> + <keyword>NAME</keyword> + <keyword>NULLABLE</keyword> + <keyword>NUMBER</keyword> + <keyword>NULLIF</keyword> + <keyword>OCTET_LENGTH</keyword> + <keyword>ORDERING</keyword> + <keyword>OPTIONS</keyword> + <keyword>OVERLAY</keyword> + <keyword>OVERRIDING</keyword> + <keyword>PASCAL</keyword> + <keyword>PARAMETER_MODE</keyword> + <keyword>PARAMETER_NAME</keyword> + <keyword>PARAMETER_ORDINAL_POSITION</keyword> + <keyword>PARAMETER_SPECIFIC_CATALOG</keyword> + <keyword>PARAMETER_SPECIFIC_NAME</keyword> + <keyword>PARAMETER_SPECIFIC_SCHEMA</keyword> + <keyword>PLI</keyword> + <keyword>POSITION</keyword> + <keyword>REPEATABLE</keyword> + <keyword>RETURNED_CARDINALITY</keyword> + <keyword>RETURNED_LENGTH</keyword> + <keyword>RETURNED_OCTET_LENGTH</keyword> + <keyword>RETURNED_SQLSTATE</keyword> + <keyword>ROUTINE_CATALOG</keyword> + <keyword>ROUTINE_NAME</keyword> + <keyword>ROUTINE_SCHEMA</keyword> + <keyword>ROW_COUNT</keyword> + <keyword>SCALE</keyword> + <keyword>SCHEMA_NAME</keyword> + <keyword>SCOPE</keyword> + <keyword>SECURITY</keyword> + <keyword>SELF</keyword> + <keyword>SENSITIVE</keyword> + <keyword>SERIALIZABLE</keyword> + <keyword>SERVER_NAME</keyword> + <keyword>SIMPLE</keyword> + <keyword>SOURCE</keyword> + <keyword>SPECIFIC_NAME</keyword> + <keyword>STATEMENT</keyword> + <keyword>STRUCTURE</keyword> + <keyword>STYLE</keyword> + <keyword>SUBCLASS_ORIGIN</keyword> + <keyword>SUBSTRING</keyword> + <keyword>SUM</keyword> + <keyword>SYMMETRIC</keyword> + <keyword>SYSTEM</keyword> + <keyword>TABLE_NAME</keyword> + <keyword>TOP_LEVEL_COUNT</keyword> + <keyword>TRANSACTIONS_COMMITTED</keyword> + <keyword>TRANSACTIONS_ROLLED_BACK</keyword> + <keyword>TRANSACTION_ACTIVE</keyword> + <keyword>TRANSFORM</keyword> + <keyword>TRANSFORMS</keyword> + <keyword>TRANSLATE</keyword> + <keyword>TRIGGER_CATALOG</keyword> + <keyword>TRIGGER_SCHEMA</keyword> + <keyword>TRIGGER_NAME</keyword> + <keyword>TRIM</keyword> + <keyword>TYPE</keyword> + <keyword>UNCOMMITTED</keyword> + <keyword>UNNAMED</keyword> + <keyword>UPPER</keyword> + </highlighter> +</highlighters> diff --git a/highlighting/sql2003-hl.xml b/highlighting/sql2003-hl.xml new file mode 100644 index 0000000..ac1d5d0 --- /dev/null +++ b/highlighting/sql2003-hl.xml @@ -0,0 +1,565 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + +Syntax highlighting definition for SQL:1999 + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2012 Michiel Hendriks, Martin Hujer, k42b3 + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +--> +<highlighters> + <highlighter type="oneline-comment">--</highlighter> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="string"> + <string>'</string> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>U'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>B'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>N'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>X'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <exponent>e</exponent> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <ignoreCase /> + <!-- reserved --> + <keyword>A</keyword> + <keyword>ABS</keyword> + <keyword>ABSOLUTE</keyword> + <keyword>ACTION</keyword> + <keyword>ADA</keyword> + <keyword>ADMIN</keyword> + <keyword>AFTER</keyword> + <keyword>ALWAYS</keyword> + <keyword>ASC</keyword> + <keyword>ASSERTION</keyword> + <keyword>ASSIGNMENT</keyword> + <keyword>ATTRIBUTE</keyword> + <keyword>ATTRIBUTES</keyword> + <keyword>AVG</keyword> + <keyword>BEFORE</keyword> + <keyword>BERNOULLI</keyword> + <keyword>BREADTH</keyword> + <keyword>C</keyword> + <keyword>CARDINALITY</keyword> + <keyword>CASCADE</keyword> + <keyword>CATALOG_NAME</keyword> + <keyword>CATALOG</keyword> + <keyword>CEIL</keyword> + <keyword>CEILING</keyword> + <keyword>CHAIN</keyword> + <keyword>CHAR_LENGTH</keyword> + <keyword>CHARACTER_LENGTH</keyword> + <keyword>CHARACTER_SET_CATALOG</keyword> + <keyword>CHARACTER_SET_NAME</keyword> + <keyword>CHARACTER_SET_SCHEMA</keyword> + <keyword>CHARACTERISTICS</keyword> + <keyword>CHARACTERS</keyword> + <keyword>CHECKED</keyword> + <keyword>CLASS_ORIGIN</keyword> + <keyword>COALESCE</keyword> + <keyword>COBOL</keyword> + <keyword>CODE_UNITS</keyword> + <keyword>COLLATION_CATALOG</keyword> + <keyword>COLLATION_NAME</keyword> + <keyword>COLLATION_SCHEMA</keyword> + <keyword>COLLATION</keyword> + <keyword>COLLECT</keyword> + <keyword>COLUMN_NAME</keyword> + <keyword>COMMAND_FUNCTION_CODE</keyword> + <keyword>COMMAND_FUNCTION</keyword> + <keyword>COMMITTED</keyword> + <keyword>CONDITION_NUMBER</keyword> + <keyword>CONDITION</keyword> + <keyword>CONNECTION_NAME</keyword> + <keyword>CONSTRAINT_CATALOG</keyword> + <keyword>CONSTRAINT_NAME</keyword> + <keyword>CONSTRAINT_SCHEMA</keyword> + <keyword>CONSTRAINTS</keyword> + <keyword>CONSTRUCTORS</keyword> + <keyword>CONTAINS</keyword> + <keyword>CONVERT</keyword> + <keyword>CORR</keyword> + <keyword>COUNT</keyword> + <keyword>COVAR_POP</keyword> + <keyword>COVAR_SAMP</keyword> + <keyword>CUME_DIST</keyword> + <keyword>CURRENT_COLLATION</keyword> + <keyword>CURSOR_NAME</keyword> + <keyword>DATA</keyword> + <keyword>DATETIME_INTERVAL_CODE</keyword> + <keyword>DATETIME_INTERVAL_PRECISION</keyword> + <keyword>DEFAULTS</keyword> + <keyword>DEFERRABLE</keyword> + <keyword>DEFERRED</keyword> + <keyword>DEFINED</keyword> + <keyword>DEFINER</keyword> + <keyword>DEGREE</keyword> + <keyword>DENSE_RANK</keyword> + <keyword>DEPTH</keyword> + <keyword>DERIVED</keyword> + <keyword>DESC</keyword> + <keyword>DESCRIPTOR</keyword> + <keyword>DIAGNOSTICS</keyword> + <keyword>DISPATCH</keyword> + <keyword>DOMAIN</keyword> + <keyword>DYNAMIC_FUNCTION_CODE</keyword> + <keyword>DYNAMIC_FUNCTION</keyword> + <keyword>EQUALS</keyword> + <keyword>EVERY</keyword> + <keyword>EXCEPTION</keyword> + <keyword>EXCLUDE</keyword> + <keyword>EXCLUDING</keyword> + <keyword>EXP</keyword> + <keyword>EXTRACT</keyword> + <keyword>FINAL</keyword> + <keyword>FIRST</keyword> + <keyword>FLOOR</keyword> + <keyword>FOLLOWING</keyword> + <keyword>FORTRAN</keyword> + <keyword>FOUND</keyword> + <keyword>FUSION</keyword> + <keyword>G</keyword> + <keyword>GENERAL</keyword> + <keyword>GO</keyword> + <keyword>GOTO</keyword> + <keyword>GRANTED</keyword> + <keyword>HIERARCHY</keyword> + <keyword>IMPLEMENTATION</keyword> + <keyword>INCLUDING</keyword> + <keyword>INCREMENT</keyword> + <keyword>INITIALLY</keyword> + <keyword>INSTANCE</keyword> + <keyword>INSTANTIABLE</keyword> + <keyword>INTERSECTION</keyword> + <keyword>INVOKER</keyword> + <keyword>ISOLATION</keyword> + <keyword>K</keyword> + <keyword>KEY_MEMBER</keyword> + <keyword>KEY_TYPE</keyword> + <keyword>KEY</keyword> + <keyword>LAST</keyword> + <keyword>LENGTH</keyword> + <keyword>LEVEL</keyword> + <keyword>LN</keyword> + <keyword>LOCATOR</keyword> + <keyword>LOWER</keyword> + <keyword>M</keyword> + <keyword>MAP</keyword> + <keyword>MATCHED</keyword> + <keyword>MAX</keyword> + <keyword>MAXVALUE</keyword> + <keyword>MESSAGE_LENGTH</keyword> + <keyword>MESSAGE_OCTET_LENGTH</keyword> + <keyword>MESSAGE_TEXT</keyword> + <keyword>MIN</keyword> + <keyword>MINVALUE</keyword> + <keyword>MOD</keyword> + <keyword>MORE</keyword> + <keyword>MUMPS</keyword> + <keyword>NAME</keyword> + <keyword>NAMES</keyword> + <keyword>NESTING</keyword> + <keyword>NEXT</keyword> + <keyword>NORMALIZE</keyword> + <keyword>NORMALIZED</keyword> + <keyword>NULLABLE</keyword> + <keyword>NULLIF</keyword> + <keyword>NULLS</keyword> + <keyword>NUMBER</keyword> + <keyword>OBJECT</keyword> + <keyword>OCTET_LENGTH</keyword> + <keyword>OCTETS</keyword> + <keyword>OPTION</keyword> + <keyword>OPTIONS</keyword> + <keyword>ORDERING</keyword> + <keyword>ORDINALITY</keyword> + <keyword>OTHERS</keyword> + <keyword>OVERLAY</keyword> + <keyword>OVERRIDING</keyword> + <keyword>PAD</keyword> + <keyword>PARAMETER_MODE</keyword> + <keyword>PARAMETER_NAME</keyword> + <keyword>PARAMETER_ORDINAL_POSITION</keyword> + <keyword>PARAMETER_SPECIFIC_CATALOG</keyword> + <keyword>PARAMETER_SPECIFIC_NAME</keyword> + <keyword>PARAMETER_SPECIFIC_SCHEMA</keyword> + <keyword>PARTIAL</keyword> + <keyword>PASCAL</keyword> + <keyword>PATH</keyword> + <keyword>PERCENT_RANK</keyword> + <keyword>PERCENTILE_CONT</keyword> + <keyword>PERCENTILE_DISC</keyword> + <keyword>PLACING</keyword> + <keyword>PLI</keyword> + <keyword>POSITION</keyword> + <keyword>POWER</keyword> + <keyword>PRECEDING</keyword> + <keyword>PRESERVE</keyword> + <keyword>PRIOR</keyword> + <keyword>PRIVILEGES</keyword> + <keyword>PUBLIC</keyword> + <keyword>RANK</keyword> + <keyword>READ</keyword> + <keyword>RELATIVE</keyword> + <keyword>REPEATABLE</keyword> + <keyword>RESTART</keyword> + <keyword>RETURNED_CARDINALITY</keyword> + <keyword>RETURNED_LENGTH</keyword> + <keyword>RETURNED_OCTET_LENGTH</keyword> + <keyword>RETURNED_SQLSTATE</keyword> + <keyword>ROLE</keyword> + <keyword>ROUTINE_CATALOG</keyword> + <keyword>ROUTINE_NAME</keyword> + <keyword>ROUTINE_SCHEMA</keyword> + <keyword>ROUTINE</keyword> + <keyword>ROW_COUNT</keyword> + <keyword>ROW_NUMBER</keyword> + <keyword>SCALE</keyword> + <keyword>SCHEMA_NAME</keyword> + <keyword>SCHEMA</keyword> + <keyword>SCOPE_CATALOG</keyword> + <keyword>SCOPE_NAME</keyword> + <keyword>SCOPE_SCHEMA</keyword> + <keyword>SECTION</keyword> + <keyword>SECURITY</keyword> + <keyword>SELF</keyword> + <keyword>SEQUENCE</keyword> + <keyword>SERIALIZABLE</keyword> + <keyword>SERVER_NAME</keyword> + <keyword>SESSION</keyword> + <keyword>SETS</keyword> + <keyword>SIMPLE</keyword> + <keyword>SIZE</keyword> + <keyword>SOURCE</keyword> + <keyword>SPACE</keyword> + <keyword>SPECIFIC_NAME</keyword> + <keyword>SQRT</keyword> + <keyword>STATE</keyword> + <keyword>STATEMENT</keyword> + <keyword>STDDEV_POP</keyword> + <keyword>STDDEV_SAMP</keyword> + <keyword>STRUCTURE</keyword> + <keyword>STYLE</keyword> + <keyword>SUBCLASS_ORIGIN</keyword> + <keyword>SUBSTRING</keyword> + <keyword>SUM</keyword> + <keyword>TABLE_NAME</keyword> + <keyword>TABLESAMPLE</keyword> + <keyword>TEMPORARY</keyword> + <keyword>TIES</keyword> + <keyword>TOP_LEVEL_COUNT</keyword> + <keyword>TRANSACTION_ACTIVE</keyword> + <keyword>TRANSACTION</keyword> + <keyword>TRANSACTIONS_COMMITTED</keyword> + <keyword>TRANSACTIONS_ROLLED_BACK</keyword> + <keyword>TRANSFORM</keyword> + <keyword>TRANSFORMS</keyword> + <keyword>TRANSLATE</keyword> + <keyword>TRIGGER_CATALOG</keyword> + <keyword>TRIGGER_NAME</keyword> + <keyword>TRIGGER_SCHEMA</keyword> + <keyword>TRIM</keyword> + <keyword>TYPE</keyword> + <keyword>UNBOUNDED</keyword> + <keyword>UNCOMMITTED</keyword> + <keyword>UNDER</keyword> + <keyword>UNNAMED</keyword> + <keyword>USAGE</keyword> + <keyword>USER_DEFINED_TYPE_CATALOG</keyword> + <keyword>USER_DEFINED_TYPE_CODE</keyword> + <keyword>USER_DEFINED_TYPE_NAME</keyword> + <keyword>USER_DEFINED_TYPE_SCHEMA</keyword> + <keyword>VIEW</keyword> + <keyword>WORK</keyword> + <keyword>WRITE</keyword> + <keyword>ZONE</keyword> + <!-- non reserved --> + <keyword>ADD</keyword> + <keyword>ALL</keyword> + <keyword>ALLOCATE</keyword> + <keyword>ALTER</keyword> + <keyword>AND</keyword> + <keyword>ANY</keyword> + <keyword>ARE</keyword> + <keyword>ARRAY</keyword> + <keyword>AS</keyword> + <keyword>ASENSITIVE</keyword> + <keyword>ASYMMETRIC</keyword> + <keyword>AT</keyword> + <keyword>ATOMIC</keyword> + <keyword>AUTHORIZATION</keyword> + <keyword>BEGIN</keyword> + <keyword>BETWEEN</keyword> + <keyword>BIGINT</keyword> + <keyword>BINARY</keyword> + <keyword>BLOB</keyword> + <keyword>BOOLEAN</keyword> + <keyword>BOTH</keyword> + <keyword>BY</keyword> + <keyword>CALL</keyword> + <keyword>CALLED</keyword> + <keyword>CASCADED</keyword> + <keyword>CASE</keyword> + <keyword>CAST</keyword> + <keyword>CHAR</keyword> + <keyword>CHARACTER</keyword> + <keyword>CHECK</keyword> + <keyword>CLOB</keyword> + <keyword>CLOSE</keyword> + <keyword>COLLATE</keyword> + <keyword>COLUMN</keyword> + <keyword>COMMIT</keyword> + <keyword>CONNECT</keyword> + <keyword>CONSTRAINT</keyword> + <keyword>CONTINUE</keyword> + <keyword>CORRESPONDING</keyword> + <keyword>CREATE</keyword> + <keyword>CROSS</keyword> + <keyword>CUBE</keyword> + <keyword>CURRENT_DATE</keyword> + <keyword>CURRENT_DEFAULT_TRANSFORM_GROUP</keyword> + <keyword>CURRENT_PATH</keyword> + <keyword>CURRENT_ROLE</keyword> + <keyword>CURRENT_TIME</keyword> + <keyword>CURRENT_TIMESTAMP</keyword> + <keyword>CURRENT_TRANSFORM_GROUP_FOR_TYPE</keyword> + <keyword>CURRENT_USER</keyword> + <keyword>CURRENT</keyword> + <keyword>CURSOR</keyword> + <keyword>CYCLE</keyword> + <keyword>DATE</keyword> + <keyword>DAY</keyword> + <keyword>DEALLOCATE</keyword> + <keyword>DEC</keyword> + <keyword>DECIMAL</keyword> + <keyword>DECLARE</keyword> + <keyword>DEFAULT</keyword> + <keyword>DELETE</keyword> + <keyword>DEREF</keyword> + <keyword>DESCRIBE</keyword> + <keyword>DETERMINISTIC</keyword> + <keyword>DISCONNECT</keyword> + <keyword>DISTINCT</keyword> + <keyword>DOUBLE</keyword> + <keyword>DROP</keyword> + <keyword>DYNAMIC</keyword> + <keyword>EACH</keyword> + <keyword>ELEMENT</keyword> + <keyword>ELSE</keyword> + <keyword>END</keyword> + <keyword>END-EXEC</keyword> + <keyword>ESCAPE</keyword> + <keyword>EXCEPT</keyword> + <keyword>EXEC</keyword> + <keyword>EXECUTE</keyword> + <keyword>EXISTS</keyword> + <keyword>EXTERNAL</keyword> + <keyword>FALSE</keyword> + <keyword>FETCH</keyword> + <keyword>FILTER</keyword> + <keyword>FLOAT</keyword> + <keyword>FOR</keyword> + <keyword>FOREIGN</keyword> + <keyword>FREE</keyword> + <keyword>FROM</keyword> + <keyword>FULL</keyword> + <keyword>FUNCTION</keyword> + <keyword>GET</keyword> + <keyword>GLOBAL</keyword> + <keyword>GRANT</keyword> + <keyword>GROUP</keyword> + <keyword>GROUPING</keyword> + <keyword>HAVING</keyword> + <keyword>HOLD</keyword> + <keyword>HOUR</keyword> + <keyword>IDENTITY</keyword> + <keyword>IMMEDIATE</keyword> + <keyword>IN</keyword> + <keyword>INDICATOR</keyword> + <keyword>INNER</keyword> + <keyword>INOUT</keyword> + <keyword>INPUT</keyword> + <keyword>INSENSITIVE</keyword> + <keyword>INSERT</keyword> + <keyword>INT</keyword> + <keyword>INTEGER</keyword> + <keyword>INTERSECT</keyword> + <keyword>INTERVAL</keyword> + <keyword>INTO</keyword> + <keyword>IS</keyword> + <keyword>ISOLATION</keyword> + <keyword>JOIN</keyword> + <keyword>LANGUAGE</keyword> + <keyword>LARGE</keyword> + <keyword>LATERAL</keyword> + <keyword>LEADING</keyword> + <keyword>LEFT</keyword> + <keyword>LIKE</keyword> + <keyword>LOCAL</keyword> + <keyword>LOCALTIME</keyword> + <keyword>LOCALTIMESTAMP</keyword> + <keyword>MATCH</keyword> + <keyword>MEMBER</keyword> + <keyword>MERGE</keyword> + <keyword>METHOD</keyword> + <keyword>MINUTE</keyword> + <keyword>MODIFIES</keyword> + <keyword>MODULE</keyword> + <keyword>MONTH</keyword> + <keyword>MULTISET</keyword> + <keyword>NATIONAL</keyword> + <keyword>NATURAL</keyword> + <keyword>NCHAR</keyword> + <keyword>NCLOB</keyword> + <keyword>NEW</keyword> + <keyword>NO</keyword> + <keyword>NONE</keyword> + <keyword>NOT</keyword> + <keyword>NULL</keyword> + <keyword>NUMERIC</keyword> + <keyword>OF</keyword> + <keyword>OLD</keyword> + <keyword>ON</keyword> + <keyword>ONLY</keyword> + <keyword>OPEN</keyword> + <keyword>OR</keyword> + <keyword>ORDER</keyword> + <keyword>OUT</keyword> + <keyword>OUTER</keyword> + <keyword>OUTPUT</keyword> + <keyword>OVER</keyword> + <keyword>OVERLAPS</keyword> + <keyword>PARAMETER</keyword> + <keyword>PARTITION</keyword> + <keyword>PRECISION</keyword> + <keyword>PREPARE</keyword> + <keyword>PRIMARY</keyword> + <keyword>PROCEDURE</keyword> + <keyword>RANGE</keyword> + <keyword>READS</keyword> + <keyword>REAL</keyword> + <keyword>RECURSIVE</keyword> + <keyword>REF</keyword> + <keyword>REFERENCES</keyword> + <keyword>REFERENCING</keyword> + <keyword>REGR_AVGX</keyword> + <keyword>REGR_AVGY</keyword> + <keyword>REGR_COUNT</keyword> + <keyword>REGR_INTERCEPT</keyword> + <keyword>REGR_R2</keyword> + <keyword>REGR_SLOPE</keyword> + <keyword>REGR_SXX</keyword> + <keyword>REGR_SXY</keyword> + <keyword>REGR_SYY</keyword> + <keyword>RELEASE</keyword> + <keyword>RESULT</keyword> + <keyword>RETURN</keyword> + <keyword>RETURNS</keyword> + <keyword>REVOKE</keyword> + <keyword>RIGHT</keyword> + <keyword>ROLLBACK</keyword> + <keyword>ROLLUP</keyword> + <keyword>ROW</keyword> + <keyword>ROWS</keyword> + <keyword>SAVEPOINT</keyword> + <keyword>SCROLL</keyword> + <keyword>SEARCH</keyword> + <keyword>SECOND</keyword> + <keyword>SELECT</keyword> + <keyword>SENSITIVE</keyword> + <keyword>SESSION_USER</keyword> + <keyword>SET</keyword> + <keyword>SIMILAR</keyword> + <keyword>SMALLINT</keyword> + <keyword>SOME</keyword> + <keyword>SPECIFIC</keyword> + <keyword>SPECIFICTYPE</keyword> + <keyword>SQL</keyword> + <keyword>SQLEXCEPTION</keyword> + <keyword>SQLSTATE</keyword> + <keyword>SQLWARNING</keyword> + <keyword>START</keyword> + <keyword>STATIC</keyword> + <keyword>SUBMULTISET</keyword> + <keyword>SYMMETRIC</keyword> + <keyword>SYSTEM_USER</keyword> + <keyword>SYSTEM</keyword> + <keyword>TABLE</keyword> + <keyword>THEN</keyword> + <keyword>TIME</keyword> + <keyword>TIMESTAMP</keyword> + <keyword>TIMEZONE_HOUR</keyword> + <keyword>TIMEZONE_MINUTE</keyword> + <keyword>TO</keyword> + <keyword>TRAILING</keyword> + <keyword>TRANSLATION</keyword> + <keyword>TREAT</keyword> + <keyword>TRIGGER</keyword> + <keyword>TRUE</keyword> + <keyword>UESCAPE</keyword> + <keyword>UNION</keyword> + <keyword>UNIQUE</keyword> + <keyword>UNKNOWN</keyword> + <keyword>UNNEST</keyword> + <keyword>UPDATE</keyword> + <keyword>UPPER</keyword> + <keyword>USER</keyword> + <keyword>USING</keyword> + <keyword>VALUE</keyword> + <keyword>VALUES</keyword> + <keyword>VAR_POP</keyword> + <keyword>VAR_SAMP</keyword> + <keyword>VARCHAR</keyword> + <keyword>VARYING</keyword> + <keyword>WHEN</keyword> + <keyword>WHENEVER</keyword> + <keyword>WHERE</keyword> + <keyword>WIDTH_BUCKET</keyword> + <keyword>WINDOW</keyword> + <keyword>WITH</keyword> + <keyword>WITHIN</keyword> + <keyword>WITHOUT</keyword> + <keyword>YEAR</keyword> + </highlighter> +</highlighters> diff --git a/highlighting/sql92-hl.xml b/highlighting/sql92-hl.xml new file mode 100644 index 0000000..111c519 --- /dev/null +++ b/highlighting/sql92-hl.xml @@ -0,0 +1,339 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + +Syntax highlighting definition for SQL-92 + +xslthl - XSLT Syntax Highlighting +http://sourceforge.net/projects/xslthl/ +Copyright (C) 2012 Michiel Hendriks, Martin Hujer, k42b3 + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. + +--> +<highlighters> + <highlighter type="oneline-comment">--</highlighter> + <highlighter type="multiline-comment"> + <start>/*</start> + <end>*/</end> + </highlighter> + <highlighter type="string"> + <string>'</string> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>B'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>N'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="string"> + <string>X'</string> + <endString>'</endString> + <doubleEscapes /> + </highlighter> + <highlighter type="number"> + <point>.</point> + <pointStarts /> + <exponent>e</exponent> + <ignoreCase /> + </highlighter> + <highlighter type="keywords"> + <ignoreCase /> + <!-- reserved --> + <keyword>ABSOLUTE</keyword> + <keyword>ACTION</keyword> + <keyword>ADD</keyword> + <keyword>ALL</keyword> + <keyword>ALLOCATE</keyword> + <keyword>ALTER</keyword> + <keyword>AND</keyword> + <keyword>ANY</keyword> + <keyword>ARE</keyword> + <keyword>AS</keyword> + <keyword>ASC</keyword> + <keyword>ASSERTION</keyword> + <keyword>AT</keyword> + <keyword>AUTHORIZATION</keyword> + <keyword>AVG</keyword> + <keyword>BEGIN</keyword> + <keyword>BETWEEN</keyword> + <keyword>BIT_LENGTH</keyword> + <keyword>BIT</keyword> + <keyword>BOTH</keyword> + <keyword>BY</keyword> + <keyword>CASCADE</keyword> + <keyword>CASCADED</keyword> + <keyword>CASE</keyword> + <keyword>CAST</keyword> + <keyword>CATALOG</keyword> + <keyword>CHAR_LENGTH</keyword> + <keyword>CHAR</keyword> + <keyword>CHARACTER_LENGTH</keyword> + <keyword>CHARACTER</keyword> + <keyword>CHECK</keyword> + <keyword>CLOSE</keyword> + <keyword>COALESCE</keyword> + <keyword>COLLATE</keyword> + <keyword>COLLATION</keyword> + <keyword>COLUMN</keyword> + <keyword>COMMIT</keyword> + <keyword>CONNECT</keyword> + <keyword>CONNECTION</keyword> + <keyword>CONSTRAINT</keyword> + <keyword>CONSTRAINTS</keyword> + <keyword>CONTINUE</keyword> + <keyword>CONVERT</keyword> + <keyword>CORRESPONDING</keyword> + <keyword>CREATE</keyword> + <keyword>CROSS</keyword> + <keyword>CURRENT_DATE</keyword> + <keyword>CURRENT_TIME</keyword> + <keyword>CURRENT_TIMESTAMP</keyword> + <keyword>CURRENT_USER</keyword> + <keyword>CURRENT</keyword> + <keyword>CURSOR</keyword> + <keyword>DATE</keyword> + <keyword>DAY</keyword> + <keyword>DEALLOCATE</keyword> + <keyword>DEC</keyword> + <keyword>DECIMAL</keyword> + <keyword>DECLARE</keyword> + <keyword>DEFAULT</keyword> + <keyword>DEFERRABLE</keyword> + <keyword>DEFERRED</keyword> + <keyword>DELETE</keyword> + <keyword>DESC</keyword> + <keyword>DESCRIBE</keyword> + <keyword>DESCRIPTOR</keyword> + <keyword>DIAGNOSTICS</keyword> + <keyword>DISCONNECT</keyword> + <keyword>DISTINCT</keyword> + <keyword>DOMAIN</keyword> + <keyword>DOUBLE</keyword> + <keyword>DROP</keyword> + <keyword>ELSE</keyword> + <keyword>END</keyword> + <keyword>END-EXEC</keyword> + <keyword>ESCAPE</keyword> + <keyword>EXCEPT</keyword> + <keyword>EXCEPTION</keyword> + <keyword>EXEC</keyword> + <keyword>EXECUTE</keyword> + <keyword>EXISTS</keyword> + <keyword>EXTERNAL</keyword> + <keyword>EXTRACT</keyword> + <keyword>FALSE</keyword> + <keyword>FETCH</keyword> + <keyword>FIRST</keyword> + <keyword>FLOAT</keyword> + <keyword>FOR</keyword> + <keyword>FOREIGN</keyword> + <keyword>FOUND</keyword> + <keyword>FROM</keyword> + <keyword>FULL</keyword> + <keyword>GET</keyword> + <keyword>GLOBAL</keyword> + <keyword>GO</keyword> + <keyword>GOTO</keyword> + <keyword>GRANT</keyword> + <keyword>GROUP</keyword> + <keyword>HAVING</keyword> + <keyword>HOUR</keyword> + <keyword>IDENTITY</keyword> + <keyword>IMMEDIATE</keyword> + <keyword>IN</keyword> + <keyword>INDICATOR</keyword> + <keyword>INITIALLY</keyword> + <keyword>INNER</keyword> + <keyword>INPUT</keyword> + <keyword>INSENSITIVE</keyword> + <keyword>INSERT</keyword> + <keyword>INT</keyword> + <keyword>INTEGER</keyword> + <keyword>INTERSECT</keyword> + <keyword>INTERVAL</keyword> + <keyword>INTO</keyword> + <keyword>IS</keyword> + <keyword>ISOLATION</keyword> + <keyword>JOIN</keyword> + <keyword>KEY</keyword> + <keyword>LANGUAGE</keyword> + <keyword>LAST</keyword> + <keyword>LEADING</keyword> + <keyword>LEFT</keyword> + <keyword>LEVEL</keyword> + <keyword>LIKE</keyword> + <keyword>LOCAL</keyword> + <keyword>LOWER</keyword> + <keyword>MATCH</keyword> + <keyword>MAX</keyword> + <keyword>MIN</keyword> + <keyword>MINUTE</keyword> + <keyword>MODULE</keyword> + <keyword>MONTH</keyword> + <keyword>NAMES</keyword> + <keyword>NATIONAL</keyword> + <keyword>NATURAL</keyword> + <keyword>NCHAR</keyword> + <keyword>NEXT</keyword> + <keyword>NO</keyword> + <keyword>NOT</keyword> + <keyword>NULL</keyword> + <keyword>NULLIF</keyword> + <keyword>NUMERIC</keyword> + <keyword>OCTET_LENGTH</keyword> + <keyword>OF</keyword> + <keyword>ON</keyword> + <keyword>ONLY</keyword> + <keyword>OPEN</keyword> + <keyword>OPTION</keyword> + <keyword>OR</keyword> + <keyword>ORDER</keyword> + <keyword>OUTER</keyword> + <keyword>OUTPUT</keyword> + <keyword>OVERLAPS</keyword> + <keyword>PAD</keyword> + <keyword>PARTIAL</keyword> + <keyword>POSITION</keyword> + <keyword>PRECISION</keyword> + <keyword>PREPARE</keyword> + <keyword>PRESERVE</keyword> + <keyword>PRIMARY</keyword> + <keyword>PRIOR</keyword> + <keyword>PRIVILEGES</keyword> + <keyword>PROCEDURE</keyword> + <keyword>PUBLIC</keyword> + <keyword>READ</keyword> + <keyword>REAL</keyword> + <keyword>REFERENCES</keyword> + <keyword>RELATIVE</keyword> + <keyword>RESTRICT</keyword> + <keyword>REVOKE</keyword> + <keyword>RIGHT</keyword> + <keyword>ROLLBACK</keyword> + <keyword>ROWS</keyword> + <keyword>SCHEMA</keyword> + <keyword>SCROLL</keyword> + <keyword>SECOND</keyword> + <keyword>SECTION</keyword> + <keyword>SELECT</keyword> + <keyword>SESSION_USER</keyword> + <keyword>SESSION</keyword> + <keyword>SET</keyword> + <keyword>SIZE</keyword> + <keyword>SMALLINT</keyword> + <keyword>SOME</keyword> + <keyword>SPACE</keyword> + <keyword>SQL</keyword> + <keyword>SQLCODE</keyword> + <keyword>SQLERROR</keyword> + <keyword>SQLSTATE</keyword> + <keyword>SUBSTRING</keyword> + <keyword>SUM</keyword> + <keyword>SYSTEM_USER</keyword> + <keyword>TABLE</keyword> + <keyword>TEMPORARY</keyword> + <keyword>THEN</keyword> + <keyword>TIME</keyword> + <keyword>TIMESTAMP</keyword> + <keyword>TIMEZONE_HOUR</keyword> + <keyword>TIMEZONE_MINUTE</keyword> + <keyword>TO</keyword> + <keyword>TRAILING</keyword> + <keyword>TRANSACTION</keyword> + <keyword>TRANSLATE</keyword> + <keyword>TRANSLATION</keyword> + <keyword>TRIM</keyword> + <keyword>TRUE</keyword> + <keyword>UNION</keyword> + <keyword>UNIQUE</keyword> + <keyword>UNKNOWN</keyword> + <keyword>UPDATE</keyword> + <keyword>UPPER</keyword> + <keyword>USAGE</keyword> + <keyword>USER</keyword> + <keyword>USING</keyword> + <keyword>VALUE</keyword> + <keyword>VALUES</keyword> + <keyword>VARCHAR</keyword> + <keyword>VARYING</keyword> + <keyword>VIEW</keyword> + <keyword>WHEN</keyword> + <keyword>WHENEVER</keyword> + <keyword>WHERE</keyword> + <keyword>WITH</keyword> + <keyword>WORK</keyword> + <keyword>WRITE</keyword> + <keyword>YEAR</keyword> + <keyword>ZONE</keyword> + <!-- non reserved keywords --> + <keyword>ADA</keyword> + <keyword>C</keyword> + <keyword>CATALOG_NAME</keyword> + <keyword>CHARACTER_SET_CATALOG</keyword> + <keyword>CHARACTER_SET_NAME</keyword> + <keyword>CHARACTER_SET_SCHEMA</keyword> + <keyword>CLASS_ORIGIN</keyword> + <keyword>COBOL</keyword> + <keyword>COLLATION_CATALOG</keyword> + <keyword>COLLATION_NAME</keyword> + <keyword>COLLATION_SCHEMA</keyword> + <keyword>COLUMN_NAME</keyword> + <keyword>COMMAND_FUNCTION</keyword> + <keyword>COMMITTED</keyword> + <keyword>CONDITION_NUMBER</keyword> + <keyword>CONNECTION_NAME</keyword> + <keyword>CONSTRAINT_CATALOG</keyword> + <keyword>CONSTRAINT_NAME</keyword> + <keyword>CONSTRAINT_SCHEMA</keyword> + <keyword>CURSOR_NAME</keyword> + <keyword>DATA</keyword> + <keyword>DATETIME_INTERVAL_CODE</keyword> + <keyword>DATETIME_INTERVAL_PRECISION</keyword> + <keyword>DYNAMIC_FUNCTION</keyword> + <keyword>FORTRAN</keyword> + <keyword>LENGTH</keyword> + <keyword>MESSAGE_LENGTH</keyword> + <keyword>MESSAGE_OCTET_LENGTH</keyword> + <keyword>MESSAGE_TEXT</keyword> + <keyword>MORE</keyword> + <keyword>MUMPS</keyword> + <keyword>NAME</keyword> + <keyword>NULLABLE</keyword> + <keyword>NUMBER</keyword> + <keyword>PASCAL</keyword> + <keyword>PLI</keyword> + <keyword>REPEATABLE</keyword> + <keyword>RETURNED_LENGTH</keyword> + <keyword>RETURNED_OCTET_LENGTH</keyword> + <keyword>RETURNED_SQLSTATE</keyword> + <keyword>ROW_COUNT</keyword> + <keyword>SCALE</keyword> + <keyword>SCHEMA_NAME</keyword> + <keyword>SERIALIZABLE</keyword> + <keyword>SERVER_NAME</keyword> + <keyword>SUBCLASS_ORIGIN</keyword> + <keyword>TABLE_NAME</keyword> + <keyword>TYPE</keyword> + <keyword>UNCOMMITTED</keyword> + <keyword>UNNAMED</keyword> + </highlighter> +</highlighters> diff --git a/highlighting/upc-hl.xml b/highlighting/upc-hl.xml new file mode 100644 index 0000000..a6b9688 --- /dev/null +++ b/highlighting/upc-hl.xml @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Syntax highlighting definition for Unified Parallel C
+
+xslthl - XSLT Syntax Highlighting
+http://sourceforge.net/projects/xslthl/
+Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks,
+ Viraj Sinha
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+3. This notice may not be removed or altered from any source distribution.
+
+Michal Molhanec <mol1111 at users.sourceforge.net>
+Jirka Kosek <kosek at users.sourceforge.net>
+Michiel Hendriks <elmuerte at users.sourceforge.net>
+-->
+<!-- This file is a modified version of c-hl.xml adapted for UPC compatability
+ by , who in no way takes credit for the original creation of this
+ file or the rest of xslthl. -->
+<highlighters>
+ <highlighter type="multiline-comment">
+ <start>/**</start>
+ <end>*/</end>
+ <style>doccomment</style>
+ </highlighter>
+ <highlighter type="oneline-comment">
+ <start><![CDATA[/// ]]></start>
+ <style>doccomment</style>
+ </highlighter>
+ <highlighter type="multiline-comment">
+ <start>/*</start>
+ <end>*/</end>
+ </highlighter>
+ <highlighter type="oneline-comment">//</highlighter>
+ <highlighter type="oneline-comment">
+ <!-- use the online-comment highlighter to detect directives -->
+ <start>#</start>
+ <lineBreakEscape>\</lineBreakEscape>
+ <style>directive</style>
+ <solitary />
+ </highlighter>
+ <highlighter type="string">
+ <string>"</string>
+ <escape>\</escape>
+ </highlighter>
+ <highlighter type="string">
+ <string>'</string>
+ <escape>\</escape>
+ </highlighter>
+ <highlighter type="hexnumber">
+ <prefix>0x</prefix>
+ <suffix>ul</suffix>
+ <suffix>lu</suffix>
+ <suffix>u</suffix>
+ <suffix>l</suffix>
+ <ignoreCase />
+ </highlighter>
+ <highlighter type="number">
+ <point>.</point>
+ <pointStarts />
+ <exponent>e</exponent>
+ <suffix>ul</suffix>
+ <suffix>lu</suffix>
+ <suffix>u</suffix>
+ <suffix>f</suffix>
+ <suffix>l</suffix>
+ <ignoreCase />
+ </highlighter>
+ <highlighter type="keywords">
+ <keyword>auto</keyword>
+ <keyword>_Bool</keyword>
+ <keyword>break</keyword>
+ <keyword>case</keyword>
+ <keyword>char</keyword>
+ <keyword>_Complex</keyword>
+ <keyword>const</keyword>
+ <keyword>continue</keyword>
+ <keyword>default</keyword>
+ <keyword>do</keyword>
+ <keyword>double</keyword>
+ <keyword>else</keyword>
+ <keyword>enum</keyword>
+ <keyword>extern</keyword>
+ <keyword>float</keyword>
+ <keyword>for</keyword>
+ <keyword>goto</keyword>
+ <keyword>if</keyword>
+ <keyword>_Imaginary</keyword>
+ <keyword>inline</keyword>
+ <keyword>int</keyword>
+ <keyword>long</keyword>
+ <keyword>register</keyword>
+ <keyword>relaxed</keyword>
+ <keyword>restrict</keyword>
+ <keyword>return</keyword>
+ <keyword>shared</keyword>
+ <keyword>strict</keyword>
+ <keyword>short</keyword>
+ <keyword>signed</keyword>
+ <keyword>sizeof</keyword>
+ <keyword>static</keyword>
+ <keyword>struct</keyword>
+ <keyword>switch</keyword>
+ <keyword>typedef</keyword>
+ <keyword>union</keyword>
+ <keyword>unsigned</keyword>
+ <keyword>upc_blocksizeof</keyword>
+ <keyword>upc_elemsizeof</keyword>
+ <keyword>upc_localsizeof</keyword>
+ <keyword>upc_lock_t</keyword>
+ <keyword>upc_forall</keyword>
+ <keyword>upc_barrier</keyword>
+ <keyword>upc_wait</keyword>
+ <keyword>upc_notify</keyword>
+ <keyword>upc_fence</keyword>
+ <keyword>void</keyword>
+ <keyword>volatile</keyword>
+ <keyword>while</keyword>
+ </highlighter>
+</highlighters>
diff --git a/highlighting/xslthl-config.xml b/highlighting/xslthl-config.xml index b24e469..9751222 100644 --- a/highlighting/xslthl-config.xml +++ b/highlighting/xslthl-config.xml @@ -3,7 +3,7 @@ xslthl - XSLT Syntax Highlighting
http://sourceforge.net/projects/xslthl/
-Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks
+Copyright (C) 2005-2012 Michal Molhanec, Jirka Kosek, Michiel Hendriks
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@@ -42,5 +42,15 @@ Michiel Hendriks <elmuerte at users.sourceforge.net> <highlighter id="ruby" file="ruby-hl.xml" />
<highlighter id="perl" file="perl-hl.xml" />
<highlighter id="javascript" file="javascript-hl.xml" />
+ <highlighter id="bourne" file="bourne-hl.xml" />
+ <highlighter id="css" file="css21-hl.xml" />
+ <highlighter id="css21" file="css21-hl.xml" />
+ <highlighter id="cmake" file="cmake-hl.xml" />
+ <highlighter id="upc" file="upc-hl.xml" />
+ <highlighter id="lua" file="lua-hl.xml" />
+ <highlighter id="sql92" file="sql92-hl.xml" />
+ <highlighter id="sql1999" file="sql1999-hl.xml" />
+ <highlighter id="sql2003" file="sql2003-hl.xml" />
+ <highlighter id="sql" file="sql2003-hl.xml" />
<namespace prefix="xslthl" uri="http://xslthl.sf.net" />
</xslthl-config>
\ No newline at end of file |