Browse Source

Update paste highlight backend (geshi) to 1.0.8.11

pull/1/head
falkTX 11 years ago
parent
commit
3e6f8a328c
100 changed files with 5064 additions and 469 deletions
  1. +44
    -24
      paste/geshi.php
  2. +1
    -1
      paste/geshi/4cs.php
  3. +1
    -1
      paste/geshi/6502acme.php
  4. +1
    -1
      paste/geshi/6502kickass.php
  5. +1
    -1
      paste/geshi/6502tasm.php
  6. +1
    -1
      paste/geshi/68000devpac.php
  7. +1
    -1
      paste/geshi/abap.php
  8. +1
    -1
      paste/geshi/actionscript.php
  9. +2
    -2
      paste/geshi/actionscript3.php
  10. +1
    -1
      paste/geshi/ada.php
  11. +1
    -1
      paste/geshi/algol68.php
  12. +1
    -1
      paste/geshi/apache.php
  13. +1
    -1
      paste/geshi/applescript.php
  14. +1
    -1
      paste/geshi/apt_sources.php
  15. +3318
    -0
      paste/geshi/arm.php
  16. +456
    -78
      paste/geshi/asm.php
  17. +1
    -1
      paste/geshi/asp.php
  18. +194
    -0
      paste/geshi/asymptote.php
  19. +1
    -1
      paste/geshi/autoconf.php
  20. +1
    -1
      paste/geshi/autohotkey.php
  21. +1
    -1
      paste/geshi/autoit.php
  22. +1
    -1
      paste/geshi/avisynth.php
  23. +1
    -1
      paste/geshi/awk.php
  24. +1
    -1
      paste/geshi/bascomavr.php
  25. +3
    -3
      paste/geshi/bash.php
  26. +1
    -1
      paste/geshi/basic4gl.php
  27. +8
    -7
      paste/geshi/bf.php
  28. +1
    -1
      paste/geshi/bibtex.php
  29. +2
    -2
      paste/geshi/blitzbasic.php
  30. +1
    -1
      paste/geshi/bnf.php
  31. +1
    -1
      paste/geshi/boo.php
  32. +1
    -1
      paste/geshi/c.php
  33. +1
    -1
      paste/geshi/c_loadrunner.php
  34. +1
    -1
      paste/geshi/c_mac.php
  35. +1
    -1
      paste/geshi/caddcl.php
  36. +1
    -1
      paste/geshi/cadlisp.php
  37. +1
    -1
      paste/geshi/cfdg.php
  38. +1
    -1
      paste/geshi/cfm.php
  39. +2
    -2
      paste/geshi/chaiscript.php
  40. +1
    -1
      paste/geshi/cil.php
  41. +1
    -1
      paste/geshi/clojure.php
  42. +1
    -1
      paste/geshi/cmake.php
  43. +1
    -1
      paste/geshi/cobol.php
  44. +1
    -1
      paste/geshi/coffeescript.php
  45. +3
    -3
      paste/geshi/cpp-qt.php
  46. +1
    -1
      paste/geshi/cpp.php
  47. +11
    -8
      paste/geshi/csharp.php
  48. +5
    -2
      paste/geshi/css.php
  49. +1
    -1
      paste/geshi/cuesheet.php
  50. +24
    -44
      paste/geshi/d.php
  51. +192
    -0
      paste/geshi/dcl.php
  52. +131
    -0
      paste/geshi/dcpu16.php
  53. +1
    -1
      paste/geshi/dcs.php
  54. +29
    -17
      paste/geshi/delphi.php
  55. +1
    -1
      paste/geshi/diff.php
  56. +1
    -1
      paste/geshi/div.php
  57. +4
    -4
      paste/geshi/dos.php
  58. +1
    -1
      paste/geshi/dot.php
  59. +1
    -1
      paste/geshi/e.php
  60. +1
    -1
      paste/geshi/ecmascript.php
  61. +1
    -1
      paste/geshi/eiffel.php
  62. +14
    -2
      paste/geshi/email.php
  63. +1
    -1
      paste/geshi/epc.php
  64. +1
    -1
      paste/geshi/erlang.php
  65. +1
    -1
      paste/geshi/euphoria.php
  66. +1
    -1
      paste/geshi/f1.php
  67. +1
    -1
      paste/geshi/falcon.php
  68. +1
    -1
      paste/geshi/fo.php
  69. +1
    -1
      paste/geshi/fortran.php
  70. +1
    -1
      paste/geshi/freebasic.php
  71. +168
    -0
      paste/geshi/freeswitch.php
  72. +2
    -2
      paste/geshi/fsharp.php
  73. +1
    -1
      paste/geshi/gambas.php
  74. +1
    -1
      paste/geshi/gdb.php
  75. +1
    -1
      paste/geshi/genero.php
  76. +1
    -1
      paste/geshi/genie.php
  77. +1
    -1
      paste/geshi/gettext.php
  78. +1
    -1
      paste/geshi/glsl.php
  79. +1
    -1
      paste/geshi/gml.php
  80. +1
    -1
      paste/geshi/gnuplot.php
  81. +1
    -1
      paste/geshi/go.php
  82. +1
    -1
      paste/geshi/groovy.php
  83. +1
    -1
      paste/geshi/gwbasic.php
  84. +4
    -4
      paste/geshi/haskell.php
  85. +161
    -0
      paste/geshi/haxe.php
  86. +1
    -1
      paste/geshi/hicest.php
  87. +1
    -1
      paste/geshi/hq9plus.php
  88. +2
    -2
      paste/geshi/html4strict.php
  89. +4
    -4
      paste/geshi/html5.php
  90. +1
    -1
      paste/geshi/icon.php
  91. +1
    -1
      paste/geshi/idl.php
  92. +1
    -1
      paste/geshi/ini.php
  93. +1
    -1
      paste/geshi/inno.php
  94. +1
    -1
      paste/geshi/intercal.php
  95. +1
    -1
      paste/geshi/io.php
  96. +1
    -1
      paste/geshi/j.php
  97. +2
    -2
      paste/geshi/java.php
  98. +164
    -164
      paste/geshi/java5.php
  99. +42
    -20
      paste/geshi/javascript.php
  100. +1
    -1
      paste/geshi/jquery.php

+ 44
- 24
paste/geshi.php View File

@@ -41,7 +41,7 @@
// //


/** The version of this GeSHi file */ /** The version of this GeSHi file */
define('GESHI_VERSION', '1.0.8.10');
define('GESHI_VERSION', '1.0.8.11');


// Define the root directory for the GeSHi code tree // Define the root directory for the GeSHi code tree
if (!defined('GESHI_ROOT')) { if (!defined('GESHI_ROOT')) {
@@ -604,6 +604,17 @@ class GeSHi {
$this->set_language_path($path); $this->set_language_path($path);
} }


/**
* Returns the version of GeSHi
*
* @return string
* @since 1 0.8.11
*/
function get_version()
{
return GESHI_VERSION;
}

/** /**
* Returns an error message associated with the last GeSHi operation, * Returns an error message associated with the last GeSHi operation,
* or false if no error has occured * or false if no error has occured
@@ -808,7 +819,7 @@ class GeSHi {
} }


// match the langname // match the langname
if (!preg_match('/\'LANG_NAME\'\s*=>\s*\'((?:[^\']|\\\')+)\'/', $data, $matches)) {
if (!preg_match('/\'LANG_NAME\'\s*=>\s*\'((?:[^\']|\\\')+?)\'/', $data, $matches)) {
$this->error = sprintf('Geshi::get_lang_fullname(%s): Regex can not detect language', $language); $this->error = sprintf('Geshi::get_lang_fullname(%s): Regex can not detect language', $language);
return false; return false;
} }
@@ -1437,6 +1448,8 @@ class GeSHi {
* @todo static? * @todo static?
*/ */
function get_language_name_from_extension( $extension, $lookup = array() ) { function get_language_name_from_extension( $extension, $lookup = array() ) {
$extension = strtolower($extension);

if ( !is_array($lookup) || empty($lookup)) { if ( !is_array($lookup) || empty($lookup)) {
$lookup = array( $lookup = array(
'6502acme' => array( 'a', 's', 'asm', 'inc' ), '6502acme' => array( 'a', 's', 'asm', 'inc' ),
@@ -1470,6 +1483,7 @@ class GeSHi {
'gnuplot' => array('plt'), 'gnuplot' => array('plt'),
'groovy' => array('groovy'), 'groovy' => array('groovy'),
'haskell' => array('hs'), 'haskell' => array('hs'),
'haxe' => array('hx'),
'html4strict' => array('html', 'htm'), 'html4strict' => array('html', 'htm'),
'ini' => array('ini', 'desktop'), 'ini' => array('ini', 'desktop'),
'java' => array('java'), 'java' => array('java'),
@@ -1504,6 +1518,7 @@ class GeSHi {
'smalltalk' => array('st'), 'smalltalk' => array('st'),
'smarty' => array(), 'smarty' => array(),
'tcl' => array('tcl'), 'tcl' => array('tcl'),
'text' => array('txt'),
'vb' => array('bas'), 'vb' => array('bas'),
'vbnet' => array(), 'vbnet' => array(),
'visualfoxpro' => array(), 'visualfoxpro' => array(),
@@ -1518,7 +1533,8 @@ class GeSHi {
return $lang; return $lang;
} }
} }
return '';

return 'text';
} }


/** /**
@@ -1555,6 +1571,9 @@ class GeSHi {
* @since 1.0.0 * @since 1.0.0
*/ */
function add_keyword($key, $word) { function add_keyword($key, $word) {
if (!is_array($this->language_data['KEYWORDS'][$key])) {
$this->language_data['KEYWORDS'][$key] = array();
}
if (!in_array($word, $this->language_data['KEYWORDS'][$key])) { if (!in_array($word, $this->language_data['KEYWORDS'][$key])) {
$this->language_data['KEYWORDS'][$key][] = $word; $this->language_data['KEYWORDS'][$key][] = $word;


@@ -1816,7 +1835,7 @@ class GeSHi {
//Decide on which style to use //Decide on which style to use
if ($style === null) { //Check if we should use default style if ($style === null) { //Check if we should use default style
unset($this->highlight_extra_lines_styles[$lines]); unset($this->highlight_extra_lines_styles[$lines]);
} else if ($style === false) { //Check if to remove this line
} elseif ($style === false) { //Check if to remove this line
unset($this->highlight_extra_lines[$lines]); unset($this->highlight_extra_lines[$lines]);
unset($this->highlight_extra_lines_styles[$lines]); unset($this->highlight_extra_lines_styles[$lines]);
} else { } else {
@@ -1988,7 +2007,7 @@ class GeSHi {
$this->language_data['SYMBOL_DATA'][$symbols] = 0; $this->language_data['SYMBOL_DATA'][$symbols] = 0;
if (isset($symbols[1])) { // multiple chars if (isset($symbols[1])) { // multiple chars
$symbol_preg_multi[] = preg_quote($symbols, '/'); $symbol_preg_multi[] = preg_quote($symbols, '/');
} else if ($symbols == '-') {
} elseif ($symbols == '-') {
// don't trigger range out of order error // don't trigger range out of order error
$symbol_preg_single[] = '\-'; $symbol_preg_single[] = '\-';
} else { // single char } else { // single char
@@ -2392,7 +2411,7 @@ class GeSHi {
foreach ($this->language_data['QUOTEMARKS'] as $quotemark) { foreach ($this->language_data['QUOTEMARKS'] as $quotemark) {
if (!isset($is_string_starter[$quotemark[0]])) { if (!isset($is_string_starter[$quotemark[0]])) {
$is_string_starter[$quotemark[0]] = (string)$quotemark; $is_string_starter[$quotemark[0]] = (string)$quotemark;
} else if (is_string($is_string_starter[$quotemark[0]])) {
} elseif (is_string($is_string_starter[$quotemark[0]])) {
$is_string_starter[$quotemark[0]] = array( $is_string_starter[$quotemark[0]] = array(
$is_string_starter[$quotemark[0]], $is_string_starter[$quotemark[0]],
$quotemark); $quotemark);
@@ -2478,7 +2497,7 @@ class GeSHi {
continue; continue;
} }
$match_i = $comment_regexp_cache_per_key[$comment_key]['pos']; $match_i = $comment_regexp_cache_per_key[$comment_key]['pos'];
} else if (
} elseif (
//This is to allow use of the offset parameter in preg_match and stay as compatible with older PHP versions as possible //This is to allow use of the offset parameter in preg_match and stay as compatible with older PHP versions as possible
(GESHI_PHP_PRE_433 && preg_match($regexp, substr($part, $i), $match, PREG_OFFSET_CAPTURE)) || (GESHI_PHP_PRE_433 && preg_match($regexp, substr($part, $i), $match, PREG_OFFSET_CAPTURE)) ||
(!GESHI_PHP_PRE_433 && preg_match($regexp, $part, $match, PREG_OFFSET_CAPTURE, $i)) (!GESHI_PHP_PRE_433 && preg_match($regexp, $part, $match, PREG_OFFSET_CAPTURE, $i))
@@ -2586,7 +2605,7 @@ class GeSHi {
continue; continue;
} }
$match_i = $escape_regexp_cache_per_key[$escape_key]['pos']; $match_i = $escape_regexp_cache_per_key[$escape_key]['pos'];
} else if (
} elseif (
//This is to allow use of the offset parameter in preg_match and stay as compatible with older PHP versions as possible //This is to allow use of the offset parameter in preg_match and stay as compatible with older PHP versions as possible
(GESHI_PHP_PRE_433 && preg_match($regexp, substr($part, $start), $match, PREG_OFFSET_CAPTURE)) || (GESHI_PHP_PRE_433 && preg_match($regexp, substr($part, $start), $match, PREG_OFFSET_CAPTURE)) ||
(!GESHI_PHP_PRE_433 && preg_match($regexp, $part, $match, PREG_OFFSET_CAPTURE, $start)) (!GESHI_PHP_PRE_433 && preg_match($regexp, $part, $match, PREG_OFFSET_CAPTURE, $start))
@@ -2656,13 +2675,13 @@ class GeSHi {
// don't put a newline around newlines // don't put a newline around newlines
$string .= "</span>\n"; $string .= "</span>\n";
$start = $es_pos + 2; $start = $es_pos + 2;
} else if (ord($es_char) >= 128) {
} elseif (ord($es_char) >= 128) {
//This is an non-ASCII char (UTF8 or single byte) //This is an non-ASCII char (UTF8 or single byte)
//This code tries to work around SF#2037598 ... //This code tries to work around SF#2037598 ...
if(function_exists('mb_substr')) { if(function_exists('mb_substr')) {
$es_char_m = mb_substr(substr($part, $es_pos+1, 16), 0, 1, $this->encoding); $es_char_m = mb_substr(substr($part, $es_pos+1, 16), 0, 1, $this->encoding);
$string .= $es_char_m . '</span>'; $string .= $es_char_m . '</span>';
} else if (!GESHI_PHP_PRE_433 && 'utf-8' == $this->encoding) {
} elseif (!GESHI_PHP_PRE_433 && 'utf-8' == $this->encoding) {
if(preg_match("/[\xC2-\xDF][\x80-\xBF]". if(preg_match("/[\xC2-\xDF][\x80-\xBF]".
"|\xE0[\xA0-\xBF][\x80-\xBF]". "|\xE0[\xA0-\xBF][\x80-\xBF]".
"|[\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}". "|[\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}".
@@ -2684,7 +2703,7 @@ class GeSHi {
$string .= $this->hsc($es_char) . '</span>'; $string .= $this->hsc($es_char) . '</span>';
$start = $es_pos + 2; $start = $es_pos + 2;
} }
} else if ($next_escape_regexp_pos < $length &&
} elseif ($next_escape_regexp_pos < $length &&
$next_escape_regexp_pos < $close_pos) { $next_escape_regexp_pos < $close_pos) {
$es_pos = $next_escape_regexp_pos; $es_pos = $next_escape_regexp_pos;
//Add the stuff not in the string yet ... //Add the stuff not in the string yet ...
@@ -2728,7 +2747,7 @@ class GeSHi {
$string = ''; $string = '';
$i = $start - 1; $i = $start - 1;
continue; continue;
} else if ($this->lexic_permissions['STRINGS'] && $hq && $hq[0] == $char &&
} elseif ($this->lexic_permissions['STRINGS'] && $hq && $hq[0] == $char &&
substr($part, $i, $hq_strlen) == $hq && ($i != $next_comment_regexp_pos)) { substr($part, $i, $hq_strlen) == $hq && ($i != $next_comment_regexp_pos)) {
// The start of a hard quoted string // The start of a hard quoted string
if (!$this->use_classes) { if (!$this->use_classes) {
@@ -2886,7 +2905,7 @@ class GeSHi {
continue; continue;
} }
$match_i = $comment_multi_cache_per_key[$open]; $match_i = $comment_multi_cache_per_key[$open];
} else if (($match_i = stripos($part, $open, $i)) !== false) {
} elseif (($match_i = stripos($part, $open, $i)) !== false) {
$comment_multi_cache_per_key[$open] = $match_i; $comment_multi_cache_per_key[$open] = $match_i;
} else { } else {
$comment_multi_cache_per_key[$open] = false; $comment_multi_cache_per_key[$open] = false;
@@ -2983,7 +3002,7 @@ class GeSHi {
continue; continue;
} }
$match_i = $comment_single_cache_per_key[$comment_key]; $match_i = $comment_single_cache_per_key[$comment_key];
} else if (
} elseif (
// case sensitive comments // case sensitive comments
($this->language_data['CASE_SENSITIVE'][GESHI_COMMENTS] && ($this->language_data['CASE_SENSITIVE'][GESHI_COMMENTS] &&
($match_i = stripos($part, $comment_mark, $i)) !== false) || ($match_i = stripos($part, $comment_mark, $i)) !== false) ||
@@ -3140,10 +3159,10 @@ class GeSHi {
$IN_TAG = false; $IN_TAG = false;
} }
$lines[$key] .= $char; $lines[$key] .= $char;
} else if ('<' == $char) {
} elseif ('<' == $char) {
$IN_TAG = true; $IN_TAG = true;
$lines[$key] .= '<'; $lines[$key] .= '<';
} else if ('&' == $char) {
} elseif ('&' == $char) {
$substr = substr($line, $i + 3, 5); $substr = substr($line, $i + 3, 5);
$posi = strpos($substr, ';'); $posi = strpos($substr, ';');
if (false === $posi) { if (false === $posi) {
@@ -3152,7 +3171,7 @@ class GeSHi {
$pos -= $posi+2; $pos -= $posi+2;
} }
$lines[$key] .= $char; $lines[$key] .= $char;
} else if ("\t" == $char) {
} elseif ("\t" == $char) {
$str = ''; $str = '';
// OPTIMISE - move $strs out. Make an array: // OPTIMISE - move $strs out. Make an array:
// $tabs = array( // $tabs = array(
@@ -3173,7 +3192,7 @@ class GeSHi {
$lines[$key] .= substr($line, $i + 1); $lines[$key] .= substr($line, $i + 1);
break; break;
} }
} else if (0 == $pos && ' ' == $char) {
} elseif (0 == $pos && ' ' == $char) {
$lines[$key] .= '&nbsp;'; $lines[$key] .= '&nbsp;';
++$pos; ++$pos;
} else { } else {
@@ -3231,6 +3250,7 @@ class GeSHi {
function handle_keyword_replace($match) { function handle_keyword_replace($match) {
$k = $this->_kw_replace_group; $k = $this->_kw_replace_group;
$keyword = $match[0]; $keyword = $match[0];
$keyword_match = $match[1];


$before = ''; $before = '';
$after = ''; $after = '';
@@ -3248,12 +3268,12 @@ class GeSHi {
if (!$this->language_data['CASE_SENSITIVE'][$k] && if (!$this->language_data['CASE_SENSITIVE'][$k] &&
strpos($this->language_data['URLS'][$k], '{FNAME}') !== false) { strpos($this->language_data['URLS'][$k], '{FNAME}') !== false) {
foreach ($this->language_data['KEYWORDS'][$k] as $word) { foreach ($this->language_data['KEYWORDS'][$k] as $word) {
if (strcasecmp($word, $keyword) == 0) {
if (strcasecmp($word, $keyword_match) == 0) {
break; break;
} }
} }
} else { } else {
$word = $keyword;
$word = $keyword_match;
} }


$before = '<|UR1|"' . $before = '<|UR1|"' .
@@ -3367,7 +3387,7 @@ class GeSHi {


foreach (array_keys($this->language_data['KEYWORDS']) as $k) { foreach (array_keys($this->language_data['KEYWORDS']) as $k) {
if (!isset($this->lexic_permissions['KEYWORDS'][$k]) || if (!isset($this->lexic_permissions['KEYWORDS'][$k]) ||
$this->lexic_permissions['KEYWORDS'][$k]) {
$this->lexic_permissions['KEYWORDS'][$k]) {


$case_sensitive = $this->language_data['CASE_SENSITIVE'][$k]; $case_sensitive = $this->language_data['CASE_SENSITIVE'][$k];
$modifiers = $case_sensitive ? '' : 'i'; $modifiers = $case_sensitive ? '' : 'i';
@@ -3991,7 +4011,7 @@ class GeSHi {
$parsed_code .= $this->line_numbers_start + $i; $parsed_code .= $this->line_numbers_start + $i;
if ($close) { if ($close) {
$parsed_code .= str_repeat('</span>', $close); $parsed_code .= str_repeat('</span>', $close);
} else if ($i != $n) {
} elseif ($i != $n) {
$parsed_code .= "\n"; $parsed_code .= "\n";
} }
} }
@@ -4123,10 +4143,10 @@ class GeSHi {
if ($this->line_numbers != GESHI_NO_LINE_NUMBERS) { if ($this->line_numbers != GESHI_NO_LINE_NUMBERS) {
if ($this->header_type == GESHI_HEADER_PRE) { if ($this->header_type == GESHI_HEADER_PRE) {
return "<pre$attributes>$header<ol$ol_attributes>"; return "<pre$attributes>$header<ol$ol_attributes>";
} else if ($this->header_type == GESHI_HEADER_DIV ||
} elseif ($this->header_type == GESHI_HEADER_DIV ||
$this->header_type == GESHI_HEADER_PRE_VALID) { $this->header_type == GESHI_HEADER_PRE_VALID) {
return "<div$attributes>$header<ol$ol_attributes>"; return "<div$attributes>$header<ol$ol_attributes>";
} else if ($this->header_type == GESHI_HEADER_PRE_TABLE) {
} elseif ($this->header_type == GESHI_HEADER_PRE_TABLE) {
return "<table$attributes>$header<tbody><tr class=\"li1\">"; return "<table$attributes>$header<tbody><tr class=\"li1\">";
} }
} else { } else {


+ 1
- 1
paste/geshi/4cs.php View File

@@ -4,7 +4,7 @@
* ------ * ------
* Author: Jason Curl (jason.curl@continental-corporation.com) * Author: Jason Curl (jason.curl@continental-corporation.com)
* Copyright: (c) 2009 Jason Curl * Copyright: (c) 2009 Jason Curl
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/09/05 * Date Started: 2009/09/05
* *
* 4CS language file for GeSHi. * 4CS language file for GeSHi.


+ 1
- 1
paste/geshi/6502acme.php View File

@@ -4,7 +4,7 @@
* ------- * -------
* Author: Warren Willmey * Author: Warren Willmey
* Copyright: (c) 2010 Warren Willmey. * Copyright: (c) 2010 Warren Willmey.
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/05/26 * Date Started: 2010/05/26
* *
* MOS 6502 (more specifically 6510) ACME Cross Assembler 0.93 by Marco Baye language file for GeSHi. * MOS 6502 (more specifically 6510) ACME Cross Assembler 0.93 by Marco Baye language file for GeSHi.


+ 1
- 1
paste/geshi/6502kickass.php View File

@@ -4,7 +4,7 @@
* ------- * -------
* Author: Warren Willmey * Author: Warren Willmey
* Copyright: (c) 2010 Warren Willmey. * Copyright: (c) 2010 Warren Willmey.
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/06/07 * Date Started: 2010/06/07
* *
* MOS 6502 (6510) Kick Assembler 3.13 language file for GeSHi. * MOS 6502 (6510) Kick Assembler 3.13 language file for GeSHi.


+ 1
- 1
paste/geshi/6502tasm.php View File

@@ -4,7 +4,7 @@
* ------- * -------
* Author: Warren Willmey * Author: Warren Willmey
* Copyright: (c) 2010 Warren Willmey. * Copyright: (c) 2010 Warren Willmey.
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/06/02 * Date Started: 2010/06/02
* *
* MOS 6502 (6510) TASM/64TASS (64TASS being the super set of TASM) language file for GeSHi. * MOS 6502 (6510) TASM/64TASS (64TASS being the super set of TASM) language file for GeSHi.


+ 1
- 1
paste/geshi/68000devpac.php View File

@@ -4,7 +4,7 @@
* ------- * -------
* Author: Warren Willmey * Author: Warren Willmey
* Copyright: (c) 2010 Warren Willmey. * Copyright: (c) 2010 Warren Willmey.
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/06/09 * Date Started: 2010/06/09
* *
* Motorola 68000 - HiSoft Devpac ST 2 Assembler language file for GeSHi. * Motorola 68000 - HiSoft Devpac ST 2 Assembler language file for GeSHi.


+ 1
- 1
paste/geshi/abap.php View File

@@ -7,7 +7,7 @@
* - Sandra Rossi (sandra.rossi@gmail.com) * - Sandra Rossi (sandra.rossi@gmail.com)
* - Jacob Laursen (jlu@kmd.dk) * - Jacob Laursen (jlu@kmd.dk)
* Copyright: (c) 2007 Andres Picazo * Copyright: (c) 2007 Andres Picazo
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/06/04 * Date Started: 2004/06/04
* *
* ABAP language file for GeSHi. * ABAP language file for GeSHi.


+ 1
- 1
paste/geshi/actionscript.php View File

@@ -4,7 +4,7 @@
* ---------------- * ----------------
* Author: Steffen Krause (Steffen.krause@muse.de) * Author: Steffen Krause (Steffen.krause@muse.de)
* Copyright: (c) 2004 Steffen Krause, Nigel McNie (http://qbnz.com/highlighter) * Copyright: (c) 2004 Steffen Krause, Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/06/20 * Date Started: 2004/06/20
* *
* Actionscript language file for GeSHi. * Actionscript language file for GeSHi.


+ 2
- 2
paste/geshi/actionscript3.php View File

@@ -4,7 +4,7 @@
* ---------------- * ----------------
* Author: Jordi Boggiano (j.boggiano@seld.be) * Author: Jordi Boggiano (j.boggiano@seld.be)
* Copyright: (c) 2007 Jordi Boggiano (http://www.seld.be/), Benny Baumann (http://qbnz.com/highlighter) * Copyright: (c) 2007 Jordi Boggiano (http://www.seld.be/), Benny Baumann (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2007/11/26 * Date Started: 2007/11/26
* *
* ActionScript3 language file for GeSHi. * ActionScript3 language file for GeSHi.
@@ -72,7 +72,7 @@ $language_data = array (
'private', 'null', 'new', 'is', 'internal', 'instanceof', 'in', 'private', 'null', 'new', 'is', 'internal', 'instanceof', 'in',
'import', 'if', 'get', 'for', 'false', 'else', 'each', 'do', 'import', 'if', 'get', 'for', 'false', 'else', 'each', 'do',
'delete', 'default', 'continue', 'catch', 'case', 'break', 'as', 'delete', 'default', 'continue', 'catch', 'case', 'break', 'as',
'extends'
'extends', 'override'
), ),
2 => array( 2 => array(
'var' 'var'


+ 1
- 1
paste/geshi/ada.php View File

@@ -4,7 +4,7 @@
* ------- * -------
* Author: Tux (tux@inmail.cz) * Author: Tux (tux@inmail.cz)
* Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter) * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/07/29 * Date Started: 2004/07/29
* *
* Ada language file for GeSHi. * Ada language file for GeSHi.


+ 1
- 1
paste/geshi/algol68.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Neville Dempsey (NevilleD.sourceforge@sgr-a.net) * Author: Neville Dempsey (NevilleD.sourceforge@sgr-a.net)
* Copyright: (c) 2010 Neville Dempsey (https://sourceforge.net/projects/algol68/files/) * Copyright: (c) 2010 Neville Dempsey (https://sourceforge.net/projects/algol68/files/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/04/24 * Date Started: 2010/04/24
* *
* ALGOL 68 language file for GeSHi. * ALGOL 68 language file for GeSHi.


+ 1
- 1
paste/geshi/apache.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Tux (tux@inmail.cz) * Author: Tux (tux@inmail.cz)
* Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter) * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/29/07 * Date Started: 2004/29/07
* *
* Apache language file for GeSHi. * Apache language file for GeSHi.


+ 1
- 1
paste/geshi/applescript.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Stephan Klimek (http://www.initware.org) * Author: Stephan Klimek (http://www.initware.org)
* Copyright: Stephan Klimek (http://www.initware.org) * Copyright: Stephan Klimek (http://www.initware.org)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2005/07/20 * Date Started: 2005/07/20
* *
* AppleScript language file for GeSHi. * AppleScript language file for GeSHi.


+ 1
- 1
paste/geshi/apt_sources.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Milian Wolff (mail@milianw.de) * Author: Milian Wolff (mail@milianw.de)
* Copyright: (c) 2008 Milian Wolff (http://milianw.de) * Copyright: (c) 2008 Milian Wolff (http://milianw.de)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2008/06/17 * Date Started: 2008/06/17
* *
* Apt sources.list language file for GeSHi. * Apt sources.list language file for GeSHi.


+ 3318
- 0
paste/geshi/arm.php
File diff suppressed because it is too large
View File


+ 456
- 78
paste/geshi/asm.php View File

@@ -3,15 +3,56 @@
* asm.php * asm.php
* ------- * -------
* Author: Tux (tux@inmail.cz) * Author: Tux (tux@inmail.cz)
* Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Copyright: (c) 2004 Tux (http://tux.a4.cz/),
* 2004-2009 Nigel McNie (http://qbnz.com/highlighter),
* 2009-2011 Benny Baumann (http://qbnz.com/highlighter),
* 2011 Dennis Yurichev (dennis@conus.info),
* 2011 Marat Dukhan (mdukhan3.at.gatech.dot.edu)
* Release Version: 1.0.8.11
* Date Started: 2004/07/27 * Date Started: 2004/07/27
* *
* x86 Assembler language file for GeSHi. * x86 Assembler language file for GeSHi.
* Words are from SciTe configuration file (based on NASM syntax)
* Based on the following documents:
* - "Intel64 and IA-32 Architectures Programmer's Reference Manual
* Volume 2 (2A & 2B): Instructions Set Reference, A-Z",
* Order Number 25383-039US, May 2011
* - "Intel Advanced Vector Extensions Programming Reference",
* Order Number 319433-011, June 2011
* - "AMD64 Architecture Programmer's Manual Volume 3:
* General-Purpose and System Instructions", Publication No. 24594,
* Revision 3.15, November 2009
* - "AMD64 Architecture Programmer's Manual Volume 4:
* 128-Bit and 256-Bit Media Instructions", Publication No. 26568,
* Revision 3.12, May 2011
* - "AMD64 Architecture Programmer's Manual Volume 5:
* 64-Bit Media and x87 Floating-Point Instructions",
* Publication No. 26569, Revision 3.11, December 2009
* - "AMD64 Technology Lightweight Profiling Specification",
* Publication No. 43724, Revision 3.08, August 2010
* - "Application Note 108: Cyrix Extended MMX Instruction Set"
* - "VIA Padlock Programming Guide", 3rd May 2005
* - http://en.wikipedia.org/wiki/X86_instruction_listings
* - NASM 2.10rc8 Online Documenation at
* http://www.nasm.us/xdoc/2.10rc8/html/nasmdoc0.html
* Color scheme is taken from SciTE. Previous versions of this file
* also used words from SciTE configuration file (based on NASM syntax)
* *
* CHANGES * CHANGES
* ------- * -------
* 2011/10/07
* - Rearranged instructions and registers into groups
* - Updated to support the following extensions
* - CMOV, BMI1, BMI2, TBM, FSGSBASE
* - LZCNT, TZCNT, POPCNT, MOVBE, CRC32
* - MMX, MMX+, EMMX
* - 3dnow!, 3dnow!+, 3dnow! Geode, 3dnow! Prefetch
* - SSE, SSE2, SSE3, SSSE3, SSE4A, SSE4.1, SSE4.2
* - AVX, AVX2, XOP, FMA3, FMA4, CVT16
* - VMX, SVM
* - AES, PCLMULQDQ, Padlock, RDRAND
* - Updated NASM macros and directives
* 2010/07/01 (1.0.8.11)
* - Added MMX/SSE/new x86-64 registers, MMX/SSE (up to 4.2) instructions
* 2008/05/23 (1.0.7.22) * 2008/05/23 (1.0.7.22)
* - Added description of extra language features (SF#1970248) * - Added description of extra language features (SF#1970248)
* 2004/11/27 (1.0.2) * 2004/11/27 (1.0.2)
@@ -55,26 +96,71 @@ $language_data = array (
'QUOTEMARKS' => array("'", '"'), 'QUOTEMARKS' => array("'", '"'),
'ESCAPE_CHAR' => '', 'ESCAPE_CHAR' => '',
'KEYWORDS' => array( 'KEYWORDS' => array(
/*CPU*/
/* General-Purpose */
1 => array( 1 => array(
'aaa','aad','aam','aas','adc','add','and','call','cbw','clc','cld','cli','cmc','cmp',
'cmps','cmpsb','cmpsw','cwd','daa','das','dec','div','esc','hlt','idiv','imul','in','inc',
'int','into','iret','ja','jae','jb','jbe','jc','jcxz','je','jg','jge','jl','jle','jmp',
'jna','jnae','jnb','jnbe','jnc','jne','jng','jnge','jnl','jnle','jno','jnp','jns','jnz',
'jo','jp','jpe','jpo','js','jz','lahf','lds','lea','les','lods','lodsb','lodsw','loop',
'loope','loopew','loopne','loopnew','loopnz','loopnzw','loopw','loopz','loopzw','mov',
'movs','movsb','movsw','mul','neg','nop','not','or','out','pop','popf','push','pushf',
'rcl','rcr','ret','retf','retn','rol','ror','sahf','sal','sar','sbb','scas','scasb','scasw',
'shl','shr','stc','std','sti','stos','stosb','stosw','sub','test','wait','xchg','xlat',
'xlatb','xor','bound','enter','ins','insb','insw','leave','outs','outsb','outsw','popa','pusha','pushw',
'arpl','lar','lsl','sgdt','sidt','sldt','smsw','str','verr','verw','clts','lgdt','lidt','lldt','lmsw','ltr',
'bsf','bsr','bt','btc','btr','bts','cdq','cmpsd','cwde','insd','iretd','iretdf','iretf',
'jecxz','lfs','lgs','lodsd','loopd','looped','loopned','loopnzd','loopzd','lss','movsd',
'movsx','movzx','outsd','popad','popfd','pushad','pushd','pushfd','scasd','seta','setae',
'setb','setbe','setc','sete','setg','setge','setl','setle','setna','setnae','setnb','setnbe',
'setnc','setne','setng','setnge','setnl','setnle','setno','setnp','setns','setnz','seto','setp',
'setpe','setpo','sets','setz','shld','shrd','stosd','bswap','cmpxchg','invd','invlpg','wbinvd','xadd','lock',
'rep','repe','repne','repnz','repz'
/* BCD instructions */
'aaa','aad','aam','aas','daa','das',
/* Control flow instructions */
'ja','jae','jb','jbe','jc','je','jg','jge','jl','jle','jmp','jna',
'jnae','jnb','jnbe','jnc','jne','jng','jnge','jnl','jnle','jno','jnp','jns','jnz',
'jo','jp','jpe','jpo','js','jz','jcxz','jecxz','jrcxz','loop','loope','loopne',
'call','ret','enter','leave','syscall','sysenter','int','into',
/* Predicate instructions */
'seta','setae','setb','setbe','setc','sete','setg','setge','setl','setle','setna',
'setnae','setnb','setnbe','setnc','setne','setng','setnge','setnl','setnle','setno',
'setnp','setns','setnz','seto','setp','setpe','setpo','sets','setz','salc',
/* Conditional move instructions */
'cmovo','cmovno','cmovb','cmovc','cmovnae','cmovae','cmovnb','cmovnc','cmove','cmovz',
'cmovne','cmovnz','cmovbe','cmovna','cmova','cmovnbe','cmovs','cmovns','cmovp','cmovpe',
'cmovnp','cmovpo','cmovl','cmovnge','cmovge','cmovnl','cmovle','cmovng','cmovg','cmovnle',
/* ALU instructions */
'add','sub','adc','sbb','neg','cmp','inc','dec','and','or','xor','not','test',
'shl','shr','sal','sar','shld','shrd','rol','ror','rcl','rcr',
'cbw','cwd','cwde','cdq','cdqe','cqo','bsf','bsr','bt','btc','btr','bts',
'idiv','imul','div','mul','bswap','nop',
/* Memory instructions */
'lea','mov','movsx','movsxd','movzx','xlatb','bound','xchg','xadd','cmpxchg','cmpxchg8b','cmpxchg16b',
/* Stack instructions */
'push','pop','pusha','popa','pushad','popad','pushf','popf','pushfd','popfd','pushfq','popfq',
/* EFLAGS manipulations instructions */
'clc','cld','stc','std','cmc','lahf','sahf',
/* Prefix instructions */
'lock','rep','repe','repz','repne','repnz',
/* String instructions */
'cmps','cmpsb','cmpsw',/*'cmpsd',*/ 'cmpsq', /*CMPSD conflicts with the SSE2 instructions of the same name*/
'movs','movsb','movsw',/*'movsd',*/ 'movsq', /*MOVSD conflicts with the SSE2 instructions of the same name*/
'scas','scasb','scasw','scasd','scasq',
'stos','stosb','stosw','stosd','stosq',
'lods','lodsb','lodsw','lodsd','lodsq',
/* Information instructions */
'cpuid','rdtsc','rdtscp','rdpmc','xgetbv',
'sgdt','sidt','sldt','smsw','str','lar',
/* LWP instructions */
'llwpcb','slwpcb','lwpval','lwpins',
/* Instructions from miscellaneous extensions */
'crc32','popcnt','lzcnt','tzcnt','movbe','pclmulqdq','rdrand',
/* FSGSBASE instructions */
'rdfsbase','rdgsbase','wrfsbase','wrgsbase',
/* BMI1 instructions */
'andn','bextr','blsi','blsmk','blsr',
/* BMI2 instructions */
'bzhi','mulx','pdep','pext','rorx','sarx','shlx','shrx',
/* TBM instructions */
'blcfill','blci','blcic','blcmsk','blcs','blsfill','blsic','t1mskc','tzmsk',
/* Legacy instructions */
'arpl','ud2','lds','les','lfs','lgs','lss','lsl','verr','verw',
/* Privileged instructions */
'cli','sti','clts','hlt','rsm','in','insb','insw','insd',
'out','outsb','outsw','outsd','clflush','invd','invlpg','invpcid','wbinvd',
'iret','iretd','iretq','sysexit','sysret','lidt','lgdt','lldt','lmsw','ltr',
'monitor','mwait','rdmsr','wrmsr','swapgs',
'fxsave','fxsave64','fxrstor','fxrstor64',
'xsave','xsaveopt','xrstor','xsetbv','getsec',
/* VMX instructions */
'invept','invvpid','vmcall','vmclear','vmlaunch','vmresume',
'vmptrld','vmptrst','vmread','vmwrite','vmxoff','vmxon',
/* SVM (AMD-V) instructions */
'invlpga','skinit','clgi','stgi','vmload','vmsave','vmmcall','vmrun'
), ),
/*FPU*/ /*FPU*/
2 => array( 2 => array(
@@ -87,56 +173,350 @@ $language_data = array (
'fsavew','fscale','fsqrt','fst','fstcw','fstenv','fstenvw','fstp','fstsw','fsub','fsubp', 'fsavew','fscale','fsqrt','fst','fstcw','fstenv','fstenvw','fstp','fstsw','fsub','fsubp',
'fsubr','fsubrp','ftst','fwait','fxam','fxch','fxtract','fyl2x','fyl2xp1', 'fsubr','fsubrp','ftst','fwait','fxam','fxch','fxtract','fyl2x','fyl2xp1',
'fsetpm','fcos','fldenvd','fnsaved','fnstenvd','fprem1','frstord','fsaved','fsin','fsincos', 'fsetpm','fcos','fldenvd','fnsaved','fnstenvd','fprem1','frstord','fsaved','fsin','fsincos',
'fstenvd','fucom','fucomp','fucompp'
'fstenvd','fucom','fucomp','fucompp','ffreep',
/* FCMOV instructions */
'fcomi','fcomip','fucomi','fucomip',
'fcmovb','fcmove','fcmovbe','fcmovu','fcmovnb','fcmovne','fcmovnbe','fcmovnu',
/* SSE3 instructions */
'fisttp'
), ),
/*registers*/
/*SIMD*/
3 => array( 3 => array(
'ah','al','ax','bh','bl','bp','bx','ch','cl','cr0','cr2','cr3','cs','cx','dh','di','dl',
'dr0','dr1','dr2','dr3','dr6','dr7','ds','dx','eax','ebp','ebx','ecx','edi','edx',
'es','esi','esp','fs','gs','si','sp','ss','st','tr3','tr4','tr5','tr6','tr7'
/* MMX instructions */
'movd','movq',
'paddb','paddw','paddd','paddsb','paddsw','paddusb','paddusw',
'psubb','psubw','psubd','psubsb','psubsw','psubusb','psubusw',
'pand','pandn','por','pxor',
'pcmpeqb','pcmpeqd','pcmpeqw','pcmpgtb','pcmpgtd','pcmpgtw',
'pmaddwd','pmulhw','pmullw',
'psllw','pslld','psllq','psrlw','psrld','psrlq','psraw','psrad',
'packuswb','packsswb','packssdw',
'punpcklbw','punpcklwd','punpckldq','punpckhbw','punpckhwd','punpckhdq',
'emms',
/* MMX+ instructions */
'pavgb','pavgw',
'pextrw','pinsrw','pmovmskb',
'pmaxsw','pmaxub','pminsw','pminub',
'pmulhuw','psadbw','pshufw',
'prefetchnta','prefetcht0','prefetcht1','prefetcht2',
'maskmovq','movntq','sfence',
/* EMMX instructions (only available on Cyrix MediaGXm) */
'paddsiw','psubsiw',
/*'pmulhrw',*/'pmachriw','pmulhriw', /* PMULHRW conflicts with the 3dnow! instruction of the same name */
'pmagw','pdistib','paveb',
'pmvzb','pmvnzb','pmvlzb','pmvgezb',
/* 3dnow! instructions! */
'pfacc','pfadd','pfsub','pfsubr','pfmul',
'pfcmpeq','pfcmpge','pfcmpgt',
'pfmax','pfmin',
'pfrcp','pfrcpit1','pfrcpit2','pfrsqit1','pfrsqrt',
'pi2fd','pf2id',
'pavgusb','pmulhrw',
'femms',
/* 3dnow!+ instructions */
'pfnacc','pfpnacc','pi2fw','pf2iw','pswapd',
/* 3dnow! Geode instructions */
'pfrsqrtv','pfrcpv',
/* 3dnow! Prefetch instructions */
'prefetch','prefetchw',
/* SSE instructions */
'addss','addps','subss','subps',
'mulss','mulps','divss','divps','sqrtss','sqrtps',
'rcpss','rcpps','rsqrtss','rsqrtps',
'maxss','maxps','minss','minps',
'cmpss','comiss','ucomiss','cmpps',
'cmpeqss','cmpltss','cmpless','cmpunordss','cmpneqss','cmpnltss','cmpnless','cmpordss',
'cmpeqps','cmpltps','cmpleps','cmpunordps','cmpneqps','cmpnltps','cmpnleps','cmpordps',
'andnps','andps','orps','xorps',
'cvtsi2ss','cvtss2si','cvttss2si',
'cvtpi2ps','cvtps2pi','cvttps2pi',
'movss','movlps','movhps','movlhps','movhlps','movaps','movups','movntps','movmskps',
'shufps','unpckhps','unpcklps',
'ldmxcsr','stmxcsr',
/* SSE2 instructions */
'addpd','addsd','subpd','subsd',
'mulsd','mulpd','divsd','divpd','sqrtsd','sqrtpd',
'maxsd','maxpd','minsd','minpd',
'cmpsd','comisd','ucomisd','cmppd',
'cmpeqsd','cmpltsd','cmplesd','cmpunordsd','cmpneqsd','cmpnltsd','cmpnlesd','cmpordsd',
'cmpeqpd','cmpltpd','cmplepd','cmpunordpd','cmpneqpd','cmpnltpd','cmpnlepd','cmpordpd',
'andnpd','andpd','orpd','xorpd',
'cvtsd2ss','cvtpd2ps','cvtss2sd','cvtps2pd',
'cvtdq2ps','cvtps2dq','cvttps2dq',
'cvtdq2pd','cvtpd2dq','cvttpd2dq',
'cvtsi2sd','cvtsd2si','cvttsd2si',
'cvtpi2pd','cvtpd2pi','cvttpd2pi',
'movsd','movlpd','movhpd','movapd','movupd','movntpd','movmskpd',
'shufpd','unpckhpd','unpcklpd',
'movnti','movdqa','movdqu','movntdq','maskmovdqu',
'movdq2q','movq2dq',
'paddq','psubq','pmuludq',
'pslldq','psrldq',
'punpcklqdq','punpckhqdq',
'pshufhw','pshuflw','pshufd',
'lfence','mfence',
/* SSE3 instructions */
'addsubps','addsubpd',
'haddps','haddpd','hsubps','hsubpd',
'movsldup','movshdup','movddup',
'lddqu',
/* SSSE3 instructions */
'psignb','psignw','psignd',
'pabsb','pabsw','pabsd',
'palignr','pshufb',
'pmulhrsw','pmaddubsw',
'phaddw','phaddd','phaddsw',
'phsubw','phsubd','phsubsw',
/* SSE4A instructions */
'extrq','insertq','movntsd','movntss',
/* SSE4.1 instructions */
'mpsadbw','phminposuw',
'pmuldq','pmulld',
'dpps','dppd',
'blendps','blendpd','blendvps','blendvpd','pblendvb','pblendw',
'pmaxsb','pmaxuw','pmaxsd','pmaxud','pminsb','pminuw','pminsd','pminud',
'roundps','roundss','roundpd','roundsd',
'insertps','pinsrb','pinsrd','pinsrq',
'extractps','pextrb','pextrd','pextrq',
'pmovsxbw','pmovsxbd','pmovsxbq','pmovsxwd','pmovsxwq','pmovsxdq',
'pmovzxbw','pmovzxbd','pmovzxbq','pmovzxwd','pmovzxwq','pmovzxdq',
'ptest',
'pcmpeqq',
'packusdw',
'movntdqa',
/* SSE4.2 instructions */
'pcmpgtq',
'pcmpestri','pcmpestrm','pcmpistri','pcmpistrm',
/* AES instructions */
'aesenc','aesenclast','aesdec','aesdeclast','aeskeygenassist','aesimc',
/* VIA Padlock instructions */
'xcryptcbc','xcryptcfb','xcryptctr','xcryptecb','xcryptofb',
'xsha1','xsha256','montmul','xstore',
/* AVX instructions */
'vaddss','vaddps','vaddsd','vaddpd','vsubss','vsubps','vsubsd','vsubpd',
'vaddsubps','vaddsubpd',
'vhaddps','vhaddpd','vhsubps','vhsubpd',
'vmulss','vmulps','vmulsd','vmulpd',
'vmaxss','vmaxps','vmaxsd','vmaxpd','vminss','vminps','vminsd','vminpd',
'vandps','vandpd','vandnps','vandnpd','vorps','vorpd','vxorps','vxorpd',
'vblendps','vblendpd','vblendvps','vblendvpd',
'vcmpss','vcomiss','vucomiss','vcmpsd','vcomisd','vucomisd','vcmpps','vcmppd',
'vcmpeqss','vcmpltss','vcmpless','vcmpunordss','vcmpneqss','vcmpnltss','vcmpnless','vcmpordss',
'vcmpeq_uqss','vcmpngess','vcmpngtss','vcmpfalsess','vcmpneq_oqss','vcmpgess','vcmpgtss','vcmptruess',
'vcmpeq_osss','vcmplt_oqss','vcmple_oqss','vcmpunord_sss','vcmpneq_usss','vcmpnlt_uqss','vcmpnle_uqss','vcmpord_sss',
'vcmpeq_usss','vcmpnge_uqss','vcmpngt_uqss','vcmpfalse_osss','vcmpneq_osss','vcmpge_oqss','vcmpgt_oqss','vcmptrue_usss',
'vcmpeqps','vcmpltps','vcmpleps','vcmpunordps','vcmpneqps','vcmpnltps','vcmpnleps','vcmpordps',
'vcmpeq_uqps','vcmpngeps','vcmpngtps','vcmpfalseps','vcmpneq_oqps','vcmpgeps','vcmpgtps','vcmptrueps',
'vcmpeq_osps','vcmplt_oqps','vcmple_oqps','vcmpunord_sps','vcmpneq_usps','vcmpnlt_uqps','vcmpnle_uqps','vcmpord_sps',
'vcmpeq_usps','vcmpnge_uqps','vcmpngt_uqps','vcmpfalse_osps','vcmpneq_osps','vcmpge_oqps','vcmpgt_oqps','vcmptrue_usps',
'vcmpeqsd','vcmpltsd','vcmplesd','vcmpunordsd','vcmpneqsd','vcmpnltsd','vcmpnlesd','vcmpordsd',
'vcmpeq_uqsd','vcmpngesd','vcmpngtsd','vcmpfalsesd','vcmpneq_oqsd','vcmpgesd','vcmpgtsd','vcmptruesd',
'vcmpeq_ossd','vcmplt_oqsd','vcmple_oqsd','vcmpunord_ssd','vcmpneq_ussd','vcmpnlt_uqsd','vcmpnle_uqsd','vcmpord_ssd',
'vcmpeq_ussd','vcmpnge_uqsd','vcmpngt_uqsd','vcmpfalse_ossd','vcmpneq_ossd','vcmpge_oqsd','vcmpgt_oqsd','vcmptrue_ussd',
'vcmpeqpd','vcmpltpd','vcmplepd','vcmpunordpd','vcmpneqpd','vcmpnltpd','vcmpnlepd','vcmpordpd',
'vcmpeq_uqpd','vcmpngepd','vcmpngtpd','vcmpfalsepd','vcmpneq_oqpd','vcmpgepd','vcmpgtpd','vcmptruepd',
'vcmpeq_ospd','vcmplt_oqpd','vcmple_oqpd','vcmpunord_spd','vcmpneq_uspd','vcmpnlt_uqpd','vcmpnle_uqpd','vcmpord_spd',
'vcmpeq_uspd','vcmpnge_uqpd','vcmpngt_uqpd','vcmpfalse_ospd','vcmpneq_ospd','vcmpge_oqpd','vcmpgt_oqpd','vcmptrue_uspd',
'vcvtsd2ss','vcvtpd2ps','vcvtss2sd','vcvtps2pd',
'vcvtsi2ss','vcvtss2si','vcvttss2si',
'vcvtpi2ps','vcvtps2pi','vcvttps2pi',
'vcvtdq2ps','vcvtps2dq','vcvttps2dq',
'vcvtdq2pd','vcvtpd2dq','vcvttpd2dq',
'vcvtsi2sd','vcvtsd2si','vcvttsd2si',
'vcvtpi2pd','vcvtpd2pi','vcvttpd2pi',
'vdivss','vdivps','vdivsd','vdivpd','vsqrtss','vsqrtps','vsqrtsd','vsqrtpd',
'vdpps','vdppd',
'vmaskmovps','vmaskmovpd',
'vmovss','vmovsd','vmovaps','vmovapd','vmovups','vmovupd','vmovntps','vmovntpd',
'vmovhlps','vmovlhps','vmovlps','vmovlpd','vmovhps','vmovhpd',
'vmovsldup','vmovshdup','vmovddup',
'vmovmskps','vmovmskpd',
'vroundss','vroundps','vroundsd','vroundpd',
'vrcpss','vrcpps','vrsqrtss','vrsqrtps',
'vunpcklps','vunpckhps','vunpcklpd','vunpckhpd',
'vbroadcastss','vbroadcastsd','vbroadcastf128',
'vextractps','vinsertps','vextractf128','vinsertf128',
'vshufps','vshufpd','vpermilps','vpermilpd','vperm2f128',
'vtestps','vtestpd',
'vpaddb','vpaddusb','vpaddsb','vpaddw','vpaddusw','vpaddsw','vpaddd','vpaddq',
'vpsubb','vpsubusb','vpsubsb','vpsubw','vpsubusw','vpsubsw','vpsubd','vpsubq',
'vphaddw','vphaddsw','vphaddd','vphsubw','vphsubsw','vphsubd',
'vpsllw','vpslld','vpsllq','vpsrlw','vpsrld','vpsrlq','vpsraw','vpsrad',
'vpand','vpandn','vpor','vpxor',
'vpblendwb','vpblendw',
'vpsignb','vpsignw','vpsignd',
'vpavgb','vpavgw',
'vpabsb','vpabsw','vpabsd',
'vmovd','vmovq','vmovdqa','vmovdqu','vlddqu','vmovntdq','vmovntdqa','vmaskmovdqu',
'vpmovsxbw','vpmovsxbd','vpmovsxbq','vpmovsxwd','vpmovsxwq','vpmovsxdq',
'vpmovzxbw','vpmovzxbd','vpmovzxbq','vpmovzxwd','vpmovzxwq','vpmovzxdq',
'vpackuswb','vpacksswb','vpackusdw','vpackssdw',
'vpcmpeqb','vpcmpeqw','vpcmpeqd','vpcmpeqq','vpcmpgtb','vpcmpgtw','vpcmpgtd','vpcmpgtq',
'vpmaddubsw','vpmaddwd',
'vpmullw','vpmulhuw','vpmulhw','vpmulhrsw','vpmulld','vpmuludq','vpmuldq',
'vpmaxub','vpmaxsb','vpmaxuw','vpmaxsw','vpmaxud','vpmaxsd',
'vpminub','vpminsb','vpminuw','vpminsw','vpminud','vpminsd',
'vpmovmskb','vptest',
'vpunpcklbw','vpunpcklwd','vpunpckldq','vpunpcklqdq',
'vpunpckhbw','vpunpckhwd','vpunpckhdq','vpunpckhqdq',
'vpslldq','vpsrldq','vpalignr',
'vpshufb','vpshuflw','vpshufhw','vpshufd',
'vpextrb','vpextrw','vpextrd','vpextrq','vpinsrb','vpinsrw','vpinsrd','vpinsrq',
'vpsadbw','vmpsadbw','vphminposuw',
'vpcmpestri','vpcmpestrm','vpcmpistri','vpcmpistrm',
'vpclmulqdq','vaesenc','vaesenclast','vaesdec','vaesdeclast','vaeskeygenassist','vaesimc',
'vldmxcsr','vstmxcsr','vzeroall','vzeroupper',
/* AVX2 instructions */
'vbroadcasti128','vpbroadcastb','vpbroadcastw','vpbroadcastd','vpbroadcastq',
'vpblendd',
'vpermd','vpermq','vperm2i128',
'vextracti128','vinserti128',
'vpmaskmovd','vpmaskmovq',
'vpsllvd','vpsllvq','vpsravd','vpsrlvd',
'vpgatherdd','vpgatherqd','vgatherdq','vgatherqq',
'vpermps','vpermpd',
'vgatherdpd','vgatherqpd','vgatherdps','vgatherqps',
/* XOP instructions */
'vfrczss','vfrczps','vfrczsd','vfrczpd',
'vpermil2ps','vperlil2pd',
'vpcomub','vpcomb','vpcomuw','vpcomw','vpcomud','vpcomd','vpcomuq','vpcomq',
'vphaddubw','vphaddbw','vphaddubd','vphaddbd','vphaddubq','vphaddbq',
'vphadduwd','vphaddwd','vphadduwq','vphaddwq','vphaddudq','vphadddq',
'vphsubbw','vphsubwd','vphsubdq',
'vpmacsdd','vpmacssdd','vpmacsdql','vpmacssdql','vpmacsdqh','vpmacssdqh',
'vpmacsww','vpmacssww','vpmacswd','vpmacsswd',
'vpmadcswd','vpmadcsswd',
'vpcmov','vpperm',
'vprotb','vprotw','vprotd','vprotq',
'vpshab','vpshaw','vpshad','vpshaq',
'vpshlb','vpshlw','vpshld','vpshlq',
/* CVT16 instructions */
'vcvtph2ps','vcvtps2ph',
/* FMA4 instructions */
'vfmaddss','vfmaddps','vfmaddsd','vfmaddpd',
'vfmsubss','vfmsubps','vfmsubsd','vfmsubpd',
'vnfmaddss','vnfmaddps','vnfmaddsd','vnfmaddpd',
'vnfmsubss','vnfmsubps','vnfmsubsd','vnfmsubpd',
'vfmaddsubps','vfmaddsubpd','vfmsubaddps','vfmsubaddpd',
/* FMA3 instructions */
'vfmadd132ss','vfmadd213ss','vfmadd231ss',
'vfmadd132ps','vfmadd213ps','vfmadd231ps',
'vfmadd132sd','vfmadd213sd','vfmadd231sd',
'vfmadd132pd','vfmadd213pd','vfmadd231pd',
'vfmaddsub132ps','vfmaddsub213ps','vfmaddsub231ps',
'vfmaddsub132pd','vfmaddsub213pd','vfmaddsub231pd',
'vfmsubadd132ps','vfmsubadd213ps','vfmsubadd231ps',
'vfmsubadd132pd','vfmsubadd213pd','vfmsubadd231pd',
'vfmsub132ss','vfmsub213ss','vfmsub231ss',
'vfmsub132ps','vfmsub213ps','vfmsub231ps',
'vfmsub132sd','vfmsub213sd','vfmsub231sd',
'vfmsub132pd','vfmsub213pd','vfmsub231pd',
'vfnmadd132ss','vfnmadd213ss','vfnmadd231ss',
'vfnmadd132ps','vfnmadd213ps','vfnmadd231ps',
'vfnmadd132sd','vfnmadd213sd','vfnmadd231sd',
'vfnmadd132pd','vfnmadd213pd','vfnmadd231pd',
'vfnmsub132ss','vfnmsub213ss','vfnmsub231ss',
'vfnmsub132ps','vfnmsub213ps','vfnmsub231ps',
'vfnmsub132sd','vfnmsub213sd','vfnmsub231sd',
'vfnmsub132pd','vfnmsub213pd','vfnmsub231pd'
), ),
/*Directive*/
/*registers*/
4 => array( 4 => array(
'186','286','286c','286p','287','386','386c','386p','387','486','486p',
'8086','8087','alpha','break','code','const','continue','cref','data','data?',
'dosseg','else','elseif','endif','endw','equ','err','err1','err2','errb',
'errdef','errdif','errdifi','erre','erridn','erridni','errnb','errndef',
'errnz','exit','fardata','fardata?','global','if','lall','lfcond','list','listall',
'listif','listmacro','listmacroall',' model','no87','nocref','nolist',
'nolistif','nolistmacro','radix','repeat','sall','seq','sfcond','stack',
'startup','tfcond','type','until','untilcxz','while','xall','xcref',
'xlist','alias','align','assume','catstr','comm','comment','db','dd','df','dq',
'dt','dup','dw','echo','elseif1','elseif2','elseifb','elseifdef','elseifdif',
'elseifdifi','elseife','elseifidn','elseifidni','elseifnb','elseifndef','end',
'endm','endp','ends','eq',' equ','even','exitm','extern','externdef','extrn','for',
'forc','ge','goto','group','high','highword','if1','if2','ifb','ifdef','ifdif',
'ifdifi','ife',' ifidn','ifidni','ifnb','ifndef','include','includelib','instr','invoke',
'irp','irpc','label','le','length','lengthof','local','low','lowword','lroffset',
'macro','mask','mod','msfloat','name','ne','offset','opattr','option','org','%out',
'page','popcontext','private','proc','proto','ptr','public','purge','pushcontext','record',
'resb','resd','resw','rept','section','seg','segment','short','size','sizeof','sizestr','struc','struct',
'substr','subtitle','subttl','textequ','this','title','typedef','union','width',
'.model', '.stack', '.code', '.data'
/* General-Purpose Registers */
'al','ah','bl','bh','cl','ch','dl','dh','sil','dil','bpl','spl',
'r8b','r9b','r10b','r11b','r12b','r13b','r14b','r15b',
'ax','bx','cx','dx','si','di','bp','sp',
'r8w','r9w','r10w','r11w','r12w','r13w','r14w','r15w',
'eax','ebx','ecx','edx','esi','edi','ebp','esp',
'r8d','r9d','r10d','r11d','r12d','r13d','r14d','r15d',
'rax','rcx','rdx','rbx','rsp','rbp','rsi','rdi',
'r8','r9','r10','r11','r12','r13','r14','r15',
/* Debug Registers */
'dr0','dr1','dr2','dr3','dr6','dr7',
/* Control Registers */
'cr0','cr2','cr3','cr4','cr8',
/* Test Registers (Supported on Intel 486 only) */
'tr3','tr4','tr5','tr6','tr7',
/* Segment Registers */
'cs','ds','es','fs','gs','ss',
/* FPU Registers */
'st','st0','st1','st2','st3','st4','st5','st6','st7',
/* MMX Registers */
'mm0','mm1','mm2','mm3','mm4','mm5','mm6','mm7',
/* SSE Registers */
'xmm0','xmm1','xmm2','xmm3','xmm4','xmm5','xmm6','xmm7',
'xmm8','xmm9','xmm10','xmm11','xmm12','xmm13','xmm14','xmm15',
/* AVX Registers */
'ymm0','ymm1','ymm2','ymm3','ymm4','ymm5','ymm6','ymm7',
'ymm8','ymm9','ymm10','ymm11','ymm12','ymm13','ymm14','ymm15'
), ),
/*Operands*/
/*Directive*/
5 => array( 5 => array(
'@b','@f','addr','basic','byte','c','carry?','dword',
'far','far16','fortran','fword','near','near16','overflow?','parity?','pascal','qword',
'real4',' real8','real10','sbyte','sdword','sign?','stdcall','sword','syscall','tbyte',
'vararg','word','zero?','flat','near32','far32',
'abs','all','assumes','at','casemap','common','compact',
'cpu','dotname','emulator','epilogue','error','export','expr16','expr32','farstack',
'forceframe','huge','language','large','listing','ljmp','loadds','m510','medium','memory',
'nearstack','nodotname','noemulator','nokeyword','noljmp','nom510','none','nonunique',
'nooldmacros','nooldstructs','noreadonly','noscoped','nosignextend','nothing',
'notpublic','oldmacros','oldstructs','os_dos','para','prologue',
'readonly','req','scoped','setif2','smallstack','tiny','use16','use32','uses'
'db','dw','dd','dq','dt','do','dy',
'resb','resw','resd','resq','rest','reso','resy','incbin','equ','times','safeseh',
'__utf16__','__utf32__',
'default','cpu','float','start','imagebase','osabi',
'..start','..imagebase','..gotpc','..gotoff','..gottpoff','..got','..plt','..sym','..tlsie',
'section','segment','__sect__','group','absolute',
'.bss','.comment','.data','.lbss','.ldata','.lrodata','.rdata','.rodata','.tbss','.tdata','.text',
'alloc','bss','code','exec','data','noalloc','nobits','noexec','nowrite','progbits','rdata','tls','write',
'private','public','common','stack','overlay','class',
'extern','global','import','export',
'%define','%idefine','%xdefine','%ixdefine','%assign','%undef',
'%defstr','%idefstr','%deftok','%ideftok',
'%strcat','%strlen','%substr',
'%macro','%imacro','%rmacro','%exitmacro','%endmacro','%unmacro',
'%if','%ifn','%elif','%elifn','%else','%endif',
'%ifdef','%ifndef','%elifdef','%elifndef',
'%ifmacro','%ifnmacro','%elifmacro','%elifnmacro',
'%ifctx','%ifnctx','%elifctx','%elifnctx',
'%ifidn','%ifnidn','%elifidn','%elifnidn',
'%ifidni','%ifnidni','%elifidni','%elifnidni',
'%ifid','%ifnid','%elifid','%elifnid',
'%ifnum','%ifnnum','%elifnum','%elifnnum',
'%ifstr','%ifnstr','%elifstr','%elifnstr',
'%iftoken','%ifntoken','%eliftoken','%elifntoken',
'%ifempty','%ifnempty','%elifempty','%elifnempty',
'%ifenv','%ifnenv','%elifenv','%elifnenv',
'%rep','%exitrep','%endrep',
'%while','%exitwhile','%endwhile',
'%include','%pathsearch','%depend','%use',
'%push','%pop','%repl','%arg','%local','%stacksize','flat','flat64','large','small',
'%error','%warning','%fatal',
'%00','.nolist','%rotate','%line','%!','%final','%clear',
'struc','endstruc','istruc','at','iend',
'align','alignb','sectalign',
'bits','use16','use32','use64',
'__nasm_major__','__nasm_minor__','__nasm_subminor__','___nasm_patchlevel__',
'__nasm_version_id__','__nasm_ver__',
'__file__','__line__','__pass__','__bits__','__output_format__',
'__date__','__time__','__date_num__','__time_num__','__posix_time__',
'__utc_date__','__utc_time__','__utc_date_num__','__utc_time_num__',
'__float_daz__','__float_round__','__float__',
/* Keywords from standard packages */
'__use_altreg__',
'__use_smartalign__','smartalign','__alignmode__',
'__use_fp__','__infinity__','__nan__','__qnan__','__snan__',
'__float8__','__float16__','__float32__','__float64__','__float80m__','__float80e__','__float128l__','__float128h__'
),
/*Operands*/
6 => array(
'a16','a32','a64','o16','o32','o64','strict',
'byte','word','dword','qword','tword','oword','yword','nosplit',
'%0','%1','%2','%3','%4','%5','%6','%7','%8','%9',
'abs','rel',
'seg','wrt'
) )
), ),
'SYMBOLS' => array( 'SYMBOLS' => array(
'[', ']', '(', ')',
'+', '-', '*', '/', '%',
'.', ',', ';', ':'
1 => array(
'[', ']', '(', ')',
'+', '-', '*', '/', '%',
'.', ',', ';', ':'
),
2 => array(
'$','$$','%+','%?','%??'
)
), ),
'CASE_SENSITIVE' => array( 'CASE_SENSITIVE' => array(
GESHI_COMMENTS => false, GESHI_COMMENTS => false,
@@ -144,19 +524,21 @@ $language_data = array (
2 => false, 2 => false,
3 => false, 3 => false,
4 => false, 4 => false,
5 => false
5 => false,
6 => false
), ),
'STYLES' => array( 'STYLES' => array(
'KEYWORDS' => array( 'KEYWORDS' => array(
1 => 'color: #00007f; font-weight: bold;', 1 => 'color: #00007f; font-weight: bold;',
2 => 'color: #0000ff; font-weight: bold;',
3 => 'color: #00007f;',
4 => 'color: #000000; font-weight: bold;',
5 => 'color: #000000; font-weight: bold;'
2 => 'color: #0000ff;',
3 => 'color: #b00040;',
4 => 'color: #46aa03; font-weight: bold;',
5 => 'color: #0000ff; font-weight: bold;',
6 => 'color: #0000ff; font-weight: bold;'
), ),
'COMMENTS' => array( 'COMMENTS' => array(
1 => 'color: #666666; font-style: italic;', 1 => 'color: #666666; font-style: italic;',
2 => 'color: #adadad; font-style: italic;',
2 => 'color: #adadad; font-style: italic;'
), ),
'ESCAPE_CHAR' => array( 'ESCAPE_CHAR' => array(
0 => 'color: #000099; font-weight: bold;' 0 => 'color: #000099; font-weight: bold;'
@@ -168,16 +550,15 @@ $language_data = array (
0 => 'color: #7f007f;' 0 => 'color: #7f007f;'
), ),
'NUMBERS' => array( 'NUMBERS' => array(
0 => 'color: #0000ff;'
0 => 'color: #ff0000;'
), ),
'METHODS' => array( 'METHODS' => array(
), ),
'SYMBOLS' => array( 'SYMBOLS' => array(
0 => 'color: #339933;'
1 => 'color: #339933;',
2 => 'color: #0000ff; font-weight: bold;'
), ),
'REGEXPS' => array( 'REGEXPS' => array(
// 0 => 'color: #0000ff;',
// 1 => 'color: #0000ff;'
), ),
'SCRIPT' => array( 'SCRIPT' => array(
) )
@@ -187,7 +568,8 @@ $language_data = array (
2 => '', 2 => '',
3 => '', 3 => '',
4 => '', 4 => '',
5 => ''
5 => '',
6 => ''
), ),
'NUMBERS' => 'NUMBERS' =>
GESHI_NUMBER_BIN_PREFIX_PERCENT | GESHI_NUMBER_BIN_PREFIX_PERCENT |
@@ -203,10 +585,6 @@ $language_data = array (
'OBJECT_SPLITTERS' => array( 'OBJECT_SPLITTERS' => array(
), ),
'REGEXPS' => array( 'REGEXPS' => array(
//Hex numbers
// 0 => /* */ "(?<=([\\s\\(\\)\\[\\],;.:+\\-\\/*]))(?:[0-9][0-9a-fA-F]{0,31}[hH]|0x[0-9a-fA-F]{1,32})(?=([\\s\\(\\)\\[\\],;.:+\\-\\/*]))",
//Binary numbers
// 1 => "(?<=([\\s\\(\\)\\[\\],;.:+\\-\\/*]))[01]{1,64}[bB](?=([\\s\\(\\)\\[\\],;.:+\\-\\/*]))"
), ),
'STRICT_MODE_APPLIES' => GESHI_NEVER, 'STRICT_MODE_APPLIES' => GESHI_NEVER,
'SCRIPT_DELIMITERS' => array( 'SCRIPT_DELIMITERS' => array(


+ 1
- 1
paste/geshi/asp.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Amit Gupta (http://blog.igeek.info/) * Author: Amit Gupta (http://blog.igeek.info/)
* Copyright: (c) 2004 Amit Gupta (http://blog.igeek.info/), Nigel McNie (http://qbnz.com/highlighter) * Copyright: (c) 2004 Amit Gupta (http://blog.igeek.info/), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/08/13 * Date Started: 2004/08/13
* *
* ASP language file for GeSHi. * ASP language file for GeSHi.


+ 194
- 0
paste/geshi/asymptote.php View File

@@ -0,0 +1,194 @@
<?php
/*************************************************************************************
* asymptote.php
* -------------
* Author: Manuel Yguel (manuel.yguel.robotics@gmail.com)
* Copyright: (c) 2012 Manuel Yguel (http://manuelyguel.eu)
* Release Version: 1.0.8.11
* Date Started: 2012/05/24
*
* asymptote language file for GeSHi.
*
* CHANGES
* -------
* 2012/05/24 (1.0.0.0)
* - First Release
*
* TODO (updated 2012/05/24)
* -------------------------
* * Split to several files - php4, php5 etc
*
*************************************************************************************
*
* This file is part of GeSHi.
*
* GeSHi is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GeSHi is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GeSHi; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* ************************************************************************************/

$language_data = array(
'LANG_NAME' => 'asymptote',
'COMMENT_SINGLE' => array(1 => '//'),
'COMMENT_MULTI' => array('/*' => '*/'),
'COMMENT_REGEXP' => array(
//Multiline-continued single-line comments
1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
//Multiline-continued preprocessor define
2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m'
),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array("'", '"'),
'ESCAPE_CHAR' => '',
'ESCAPE_REGEXP' => array(
//Simple Single Char Escapes
1 => "#\\\\[\\\\abfnrtv\'\"?\n]#i",
//Hexadecimal Char Specs
2 => "#\\\\x[\da-fA-F]{2}#",
//Hexadecimal Char Specs
3 => "#\\\\u[\da-fA-F]{4}#",
//Hexadecimal Char Specs
4 => "#\\\\U[\da-fA-F]{8}#",
//Octal Char Specs
5 => "#\\\\[0-7]{1,3}#"
),
'NUMBERS' =>
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
'KEYWORDS' => array(
1 => array(
'and','controls','tension','atleast','curl','if','else','while','for','do','return','break','continue','struct','typedef','new','access','import','unravel','from','include','quote','static','public','private','restricted','this','explicit','true','false','null','cycle','newframe','operator'
),
2 => array(
'Braid','FitResult','Label','Legend','Segment','Solution','TreeNode','abscissa','arc','arrowhead','binarytree','binarytreeNode','block','bool','bool3','bounds','bqe','circle','conic','coord','coordsys','cputime','ellipse','file','filltype','frame','grid3','guide','horner','hsv','hyperbola','indexedTransform','int','inversion','key','light','line','linefit','marginT','marker','mass','object','pair','parabola','path','path3','pen','picture','point','position','projection','real','revolution','scaleT','scientific','segment','side','slice','solution','splitface','string','surface','tensionSpecifier','ticklocate','ticksgridT','tickvalues','transform','transformation','tree','triangle','trilinear','triple','vector','vertex','void'),
3 => array(
'AND','Arc','ArcArrow','ArcArrows','Arrow','Arrows','Automatic','AvantGarde','BBox','BWRainbow','BWRainbow2','Bar','Bars','BeginArcArrow','BeginArrow','BeginBar','BeginDotMargin','BeginMargin','BeginPenMargin','Blank','Bookman','Bottom','BottomTop','Bounds','Break','Broken','BrokenLog','CLZ','CTZ','Ceil','Circle','CircleBarIntervalMarker','Cos','Courier','CrossIntervalMarker','DOSendl','DOSnewl','DefaultFormat','DefaultLogFormat','Degrees','Dir','DotMargin','DotMargins','Dotted','Draw','Drawline','Embed','EndArcArrow','EndArrow','EndBar','EndDotMargin','EndMargin','EndPenMargin','Fill','FillDraw','Floor','Format','Full','Gaussian','Gaussrand','Gaussrandpair',
'Gradient','Grayscale','Helvetica','Hermite','HookHead','InOutTicks','InTicks','Jn','Label','Landscape','Left','LeftRight','LeftTicks','Legend','Linear','Link','Log','LogFormat','Margin','Margins','Mark','MidArcArrow','MidArrow','NOT','NewCenturySchoolBook','NoBox','NoMargin','NoModifier','NoTicks','NoTicks3','NoZero','NoZeroFormat','None','OR','OmitFormat','OmitTick','OmitTickInterval','OmitTickIntervals','OutTicks','Ox','Oy','Palatino','PaletteTicks','Pen','PenMargin','PenMargins','Pentype','Portrait','RadialShade','RadialShadeDraw','Rainbow','Range','Relative','Right','RightTicks','Rotate','Round','SQR','Scale','ScaleX','ScaleY','ScaleZ','Seascape','Segment','Shift','Sin','Slant','Spline','StickIntervalMarker','Straight','Symbol','Tan','TeXify','Ticks','Ticks3','TildeIntervalMarker','TimesRoman','Top','TrueMargin','UnFill','UpsideDown','Wheel','X','XEquals','XOR','XY','XYEquals','XYZero','XYgrid','XZEquals','XZZero','XZero','XZgrid','Y','YEquals','YXgrid','YZ','YZEquals','YZZero','YZero','YZgrid','Yn','Z','ZX','ZXgrid','ZYgrid','ZapfChancery','ZapfDingbats','_begingroup3','_cputime','_draw','_eval','_image','_labelpath','_projection','_strokepath','_texpath','aCos','aSin','aTan','abort','abs','accel','acos','acosh','acot','acsc','activatequote','add',
'addArrow','addMargins','addSaveFunction','addpenarc','addpenline','adjust','alias','align','all','altitude','angabscissa','angle','angpoint','animate','annotate','anticomplementary','antipedal','apply','approximate','arc','arcarrowsize','arccircle','arcdir','arcfromcenter','arcfromfocus','arclength','arcnodesnumber','arcpoint','arcsubtended','arcsubtendedcenter','arctime','arctopath','array','arrow','arrow2','arrowbase','arrowbasepoints','arrowsize','asec','asin','asinh','ask','assert','asy','asycode','asydir','asyfigure','asyfilecode','asyinclude','asywrite','atan','atan2','atanh','atbreakpoint','atexit','attach','attract','atupdate','autoformat','autoscale','autoscale3','axes','axes3','axialshade','axis','axiscoverage','azimuth','babel','background','bangles','bar','barmarksize','barsize','basealign','baseline','bbox','beep','begin','beginclip','begingroup','beginpoint','between','bevel','bezier','bezierP','bezierPP','bezierPPP','bezulate','bibliography','bibliographystyle','binarytree','binarytreeNode','binomial','binput','bins','bisector','bisectorpoint','bispline','blend','blockconnector','boutput','box','bqe','breakpoint','breakpoints','brick','buildRestoreDefaults','buildRestoreThunk','buildcycle','bulletcolor','byte','calculateScaling','canonical','canonicalcartesiansystem','cartesiansystem','case1','case2','case3','case4','cbrt','cd','ceil','center','centerToFocus',
'centroid','cevian','change2','changecoordsys','checkSegment','checkconditionlength','checker','checkincreasing','checklengths','checkposition','checktriangle','choose','circle','circlebarframe','circlemarkradius','circlenodesnumber','circumcenter','circumcircle','clamped','clear','clip','clipdraw','close','cmyk','code','colatitude','collect','collinear','color','colorless','colors','colorspace','comma','compassmark','complement','complementary','concat','concurrent','cone','conic','conicnodesnumber','conictype','conj','connect','connected','connectedindex','containmentTree','contains','contour','contour3','contouredges','controlSpecifier','convert','coordinates','coordsys','copy','copyPairOrTriple','cos','cosh','cot','countIntersections','cputime','crop','cropcode','cross',
'crossframe','crosshatch','crossmarksize','csc','cubicroots','curabscissa','curlSpecifier','curpoint','currentarrow','currentexitfunction','currentmomarrow','currentpolarconicroutine','curve','cut','cutafter','cutbefore','cyclic','cylinder','deactivatequote','debugger','deconstruct','defaultdir','defaultformat','defaultpen','defined','degenerate','degrees','delete','deletepreamble','determinant','diagonal','diamond','diffdiv','dir','dirSpecifier','dirtime','display','distance',
'divisors','do_overpaint','dot','dotframe','dotsize','downcase','draw','drawAll','drawDoubleLine','drawFermion','drawGhost','drawGluon','drawMomArrow','drawPRCcylinder','drawPRCdisk','drawPRCsphere','drawPRCtube','drawPhoton','drawScalar','drawVertex','drawVertexBox','drawVertexBoxO','drawVertexBoxX','drawVertexO','drawVertexOX','drawVertexTriangle','drawVertexTriangleO','drawVertexX','drawarrow','drawarrow2','drawline','drawpixel','drawtick','duplicate','elle','ellipse','ellipsenodesnumber','embed','embed3','empty','enclose','end','endScript','endclip','endgroup','endgroup3','endl','endpoint','endpoints','eof','eol','equation','equations','erase','erasestep','erf','erfc','error','errorbar','errorbars','eval','excenter','excircle','exit','exitXasyMode','exitfunction','exp','expfactors','expi','expm1','exradius','extend','extension','extouch','fabs','factorial','fermat','fft','fhorner','figure','file','filecode','fill','filldraw','filloutside','fillrule','filltype','find','finite','finiteDifferenceJacobian','firstcut','firstframe','fit','fit2','fixedscaling','floor','flush','fmdefaults','fmod','focusToCenter','font','fontcommand','fontsize','foot','format','frac','frequency','fromCenter','fromFocus','fspline','functionshade','gamma','generate_random_backtrace','generateticks','gergonne','getc','getint','getpair','getreal','getstring','gettriple','gluon','gouraudshade','graph','graphic','gray','grestore','grid','grid3','gsave','halfbox','hatch','hdiffdiv','hermite','hex','histogram','history','hline','hprojection',
'hsv','hyperbola','hyperbolanodesnumber','hyperlink','hypot','identity','image','incenter','incentral','incircle','increasing','incrementposition','indexedTransform','indexedfigure','initXasyMode','initdefaults','input','inradius','insert','inside','integrate','interactive','interior','interp','interpolate','intersect','intersection','intersectionpoint','intersectionpoints','intersections','intouch','inverse','inversion','invisible','is3D','isCCW','isDuplicate','isogonal','isogonalconjugate','isotomic','isotomicconjugate','isparabola','italic','item','jobname','key','kurtosis','kurtosisexcess','label','labelaxis','labelmargin','labelpath','labels','labeltick','labelx','labelx3','labely','labely3','labelz','labelz3','lastcut','latex','latitude','latticeshade','layer','layout','ldexp','leastsquares','legend','legenditem','length','lexorder','lift','light','limits','line','linear','linecap','lineinversion','linejoin','linemargin','lineskip','linetype','linewidth','link','list','lm_enorm','lm_evaluate_default','lm_lmdif','lm_lmpar','lm_minimize','lm_print_default','lm_print_quiet','lm_qrfac','lm_qrsolv','locale','locate',
'locatefile','location','log','log10','log1p','logaxiscoverage','longitude','lookup','makeNode','makedraw','makepen','map','margin','markangle','markangleradius','markanglespace','markarc','marker','markinterval','marknodes','markrightangle','markuniform','mass','masscenter','massformat','math','max','max3','maxAfterTransform','maxbezier','maxbound','maxcoords','maxlength','maxratio','maxtimes','mean','medial','median','midpoint','min','min3','minAfterTransform','minbezier','minbound','minipage','minratio','mintimes','miterlimit','mktemp','momArrowPath','momarrowsize','monotonic','multifigure','nativeformat','natural','needshipout','newl','newpage','newslide','newton','newtree','nextframe','nextnormal','nextpage','nib','nodabscissa','none','norm','normalvideo','notaknot','nowarn','numberpage','nurb','object','offset','onpath','opacity','opposite','orientation','origin','orthic','orthocentercenter','outformat','outline','outname','outprefix','output','overloadedMessage','overwrite','pack','pad','pairs','palette','parabola','parabolanodesnumber','parallel','parallelogram','partialsum','path','path3','pattern','pause','pdf','pedal','periodic','perp','perpendicular','perpendicularmark','phantom','phi1','phi2','phi3','photon','piecewisestraight','point','polar','polarconicroutine','polargraph','polygon','postcontrol','postscript','pow10','ppoint','prc','prc0','precision','precontrol','prepend','printBytecode','print_random_addresses','project','projection','purge','pwhermite','quadrant','quadraticroots','quantize','quarticroots','quotient','radialshade','radians','radicalcenter','radicalline','radius','rand','randompath','rd','readline','realmult','realquarticroots','rectangle','rectangular','rectify','reflect','relabscissa','relative','relativedistance','reldir','relpoint','reltime','remainder','remark','removeDuplicates','rename','replace','report','resetdefaultpen','restore','restoredefaults','reverse','reversevideo','rf','rfind','rgb','rgba','rgbint','rms',
'rotate','rotateO','rotation','round','roundbox','roundedpath','roundrectangle','same','samecoordsys','sameside','sample','save','savedefaults','saveline','scale','scale3','scaleO','scaleT','scaleless','scientific','search','searchindex','searchtree','sec','secondaryX','secondaryY','seconds','section','sector','seek','seekeof','segment','sequence','setcontour','setpens','sgn','sgnd','sharpangle','sharpdegrees','shift','shiftless','shipout','shipout3','show','side','simeq','simpson','sin','sinh','size','size3','skewness','skip','slant','sleep','slope','slopefield','solve','solveBVP','sort','sourceline','sphere','split','sqrt','square','srand','standardizecoordsys','startScript','stdev','step','stickframe','stickmarksize','stickmarkspace','stop','straight','straightness','string','stripdirectory','stripextension','stripfile','stripsuffix','strokepath','subdivide','subitem','subpath','substr','sum','surface','symmedial','symmedian','system',
'tab','tableau','tan','tangent','tangential','tangents','tanh','tell','tensionSpecifier','tensorshade','tex','texcolor','texify','texpath','texpreamble','texreset','texshipout','texsize','textpath','thick','thin','tick','tickMax','tickMax3','tickMin','tickMin3','ticklabelshift','ticklocate','tildeframe','tildemarksize','tile','tiling','time','times','title','titlepage','topbox','transform','transformation','transpose','trembleFuzz','triangle','triangleAbc','triangleabc','triangulate','tricoef','tridiagonal','trilinear','trim','truepoint','tube','uncycle','unfill','uniform','unique','unit','unitrand','unitsize','unityroot','unstraighten','upcase','updatefunction','uperiodic','upscale','uptodate','usepackage','usersetting','usetypescript','usleep','value','variance','variancebiased','vbox','vector','vectorfield','verbatim','view','vline','vperiodic','vprojection','warn','warning','windingnumber','write','xaxis','xaxis3','xaxis3At','xaxisAt','xequals','xinput','xlimits','xoutput','xpart','xscale','xscaleO','xtick','xtick3','xtrans','yaxis','yaxis3','yaxis3At','yaxisAt','yequals','ylimits','ypart','yscale','yscaleO','ytick','ytick3','ytrans','zaxis3','zaxis3At','zero','zero3','zlimits','zpart','ztick','ztick3','ztrans'
),
4 => array(
'AliceBlue','Align','Allow','AntiqueWhite','Apricot','Aqua','Aquamarine','Aspect','Azure','BeginPoint','Beige','Bisque','Bittersweet','Black','BlanchedAlmond','Blue','BlueGreen','BlueViolet','Both','Break','BrickRed','Brown','BurlyWood','BurntOrange','CCW','CW','CadetBlue','CarnationPink','Center','Centered','Cerulean','Chartreuse','Chocolate','Coeff','Coral','CornflowerBlue','Cornsilk','Crimson','Crop','Cyan','Dandelion','DarkBlue','DarkCyan','DarkGoldenrod','DarkGray','DarkGreen','DarkKhaki','DarkMagenta','DarkOliveGreen','DarkOrange','DarkOrchid','DarkRed','DarkSalmon','DarkSeaGreen','DarkSlateBlue','DarkSlateGray','DarkTurquoise','DarkViolet','DeepPink','DeepSkyBlue','DefaultHead','DimGray','DodgerBlue','Dotted','Down','Draw','E','ENE','EPS','ESE','E_Euler','E_PC','E_RK2','E_RK3BS','Emerald','EndPoint','Euler','Fill','FillDraw','FireBrick','FloralWhite','ForestGreen','Fuchsia','Gainsboro','GhostWhite','Gold','Goldenrod','Gray','Green','GreenYellow','Honeydew','HookHead','Horizontal','HotPink','I','IgnoreAspect','IndianRed','Indigo','Ivory','JOIN_IN','JOIN_OUT','JungleGreen','Khaki','LM_DWARF','LM_MACHEP','LM_SQRT_DWARF','LM_SQRT_GIANT','LM_USERTOL','Label','Lavender','LavenderBlush','LawnGreen','Left','LeftJustified','LeftSide','LemonChiffon','LightBlue','LightCoral','LightCyan','LightGoldenrodYellow',
'LightGreen','LightGrey','LightPink','LightSalmon','LightSeaGreen','LightSkyBlue','LightSlateGray','LightSteelBlue','LightYellow','Lime','LimeGreen','Linear','Linen','Log','Logarithmic','Magenta','Mahogany','Mark','MarkFill','Maroon','Max','MediumAquamarine','MediumBlue','MediumOrchid','MediumPurple','MediumSeaGreen','MediumSlateBlue','MediumSpringGreen','MediumTurquoise','MediumVioletRed','Melon','MidPoint','MidnightBlue','Min','MintCream','MistyRose','Moccasin','Move','MoveQuiet','Mulberry','N','NE','NNE','NNW','NW','NavajoWhite','Navy','NavyBlue','NoAlign','NoCrop','NoFill','NoSide','OldLace','Olive','OliveDrab','OliveGreen','Orange','OrangeRed','Orchid','Ox','Oy','PC','PaleGoldenrod','PaleGreen','PaleTurquoise','PaleVioletRed','PapayaWhip','Peach','PeachPuff','Periwinkle','Peru','PineGreen','Pink','Plum','PowderBlue','ProcessBlue','Purple','RK2','RK3','RK3BS','RK4','RK5','RK5DP','RK5F','RawSienna','Red','RedOrange','RedViolet','Rhodamine','Right','RightJustified','RightSide','RosyBrown','RoyalBlue','RoyalPurple','RubineRed','S','SE','SSE','SSW','SW','SaddleBrown','Salmon','SandyBrown','SeaGreen','Seashell','Sepia','Sienna','Silver','SimpleHead','SkyBlue','SlateBlue','SlateGray','Snow','SpringGreen','SteelBlue','Suppress','SuppressQuiet','Tan','TeXHead','Teal','TealBlue','Thistle','Ticksize','Tomato',
'Turquoise','UnFill','Up','VERSION','Value','Vertical','Violet','VioletRed','W','WNW','WSW','Wheat','White','WhiteSmoke','WildStrawberry','XYAlign','YAlign','Yellow','YellowGreen','YellowOrange','addpenarc','addpenline','align','allowstepping','angularsystem','animationdelay','appendsuffix','arcarrowangle','arcarrowfactor','arrow2sizelimit','arrowangle','arrowbarb','arrowdir','arrowfactor','arrowhookfactor','arrowlength','arrowsizelimit','arrowtexfactor','authorpen','axis','axiscoverage','axislabelfactor','background','backgroundcolor','backgroundpen','barfactor','barmarksizefactor','basealign','baselinetemplate','beveljoin','bigvertexpen','bigvertexsize','black','blue','bm','bottom','bp','brown','bullet','byfoci','byvertices','camerafactor','chartreuse','circlemarkradiusfactor','circlenodesnumberfactor','circleprecision','circlescale','cm','codefile','codepen','codeskip','colorPen','coloredNodes','coloredSegments',
'conditionlength','conicnodesfactor','count','cputimeformat','crossmarksizefactor','currentcoordsys','currentlight','currentpatterns','currentpen','currentpicture','currentposition','currentprojection','curvilinearsystem','cuttings','cyan','darkblue','darkbrown','darkcyan','darkgray','darkgreen','darkgrey','darkmagenta','darkolive','darkred','dashdotted','dashed','datepen','dateskip','debuggerlines','debugging','deepblue','deepcyan','deepgray','deepgreen','deepgrey','deepmagenta','deepred','default','defaultControl','defaultS','defaultbackpen','defaultcoordsys','defaultexcursion','defaultfilename','defaultformat','defaultmassformat','defaultpen','diagnostics','differentlengths','dot','dotfactor','dotframe','dotted','doublelinepen','doublelinespacing','down','duplicateFuzz','edge','ellipsenodesnumberfactor','eps','epsgeo','epsilon','evenodd','expansionfactor','extendcap','exterior','fermionpen','figureborder','figuremattpen','file3','firstnode','firststep','foregroundcolor','fuchsia','fuzz','gapfactor','ghostpen','gluonamplitude','gluonpen','gluonratio','gray','green','grey','hatchepsilon','havepagenumber','heavyblue','heavycyan','heavygray','heavygreen','heavygrey','heavymagenta','heavyred','hline','hwratio','hyperbola','hyperbolanodesnumberfactor','identity4','ignore','inXasyMode','inch','inches','includegraphicscommand','inf','infinity','institutionpen','intMax','intMin','interior','invert','invisible','itempen','itemskip','itemstep','labelmargin','landscape','lastnode','left','legendhskip','legendlinelength',
'legendmargin','legendmarkersize','legendmaxrelativewidth','legendvskip','lightblue','lightcyan','lightgray','lightgreen','lightgrey','lightmagenta','lightolive','lightred','lightyellow','line','linemargin','lm_infmsg','lm_shortmsg','longdashdotted','longdashed','magenta','magneticRadius','mantissaBits','markangleradius','markangleradiusfactor','markanglespace','markanglespacefactor','mediumblue','mediumcyan','mediumgray','mediumgreen','mediumgrey','mediummagenta','mediumred','mediumyellow','middle','minDistDefault','minblockheight','minblockwidth','mincirclediameter','minipagemargin','minipagewidth','minvertexangle','miterjoin','mm','momarrowfactor','momarrowlength','momarrowmargin','momarrowoffset','momarrowpen','monoPen','morepoints','nCircle','newbulletcolor','ngraph','nil','nmesh','nobasealign','nodeMarginDefault','nodesystem','nomarker','nopoint','noprimary','nullpath','nullpen','numarray','ocgindex','oldbulletcolor','olive','orange','origin','overpaint','page','pageheight','pagemargin','pagenumberalign','pagenumberpen','pagenumberposition','pagewidth','paleblue','palecyan','palegray','palegreen','palegrey',
'palemagenta','palered','paleyellow','parabolanodesnumberfactor','perpfactor','phi','photonamplitude','photonpen','photonratio','pi','pink','plain','plain_bounds','plain_scaling','plus','preamblenodes','pt','purple','r3','r4a','r4b','randMax','realDigits','realEpsilon','realMax','realMin','red','relativesystem','reverse','right','roundcap','roundjoin','royalblue','salmon','saveFunctions','scalarpen','sequencereal','settings','shipped','signedtrailingzero','solid','springgreen','sqrtEpsilon','squarecap','squarepen','startposition','stdin','stdout','stepfactor','stepfraction','steppagenumberpen','stepping','stickframe','stickmarksizefactor','stickmarkspacefactor','swap','textpen','ticksize','tildeframe','tildemarksizefactor','tinv','titlealign','titlepagepen','titlepageposition','titlepen','titleskip','top','trailingzero','treeLevelStep','treeMinNodeWidth','treeNodeStep','trembleAngle','trembleFrequency','trembleRandom','undefined','unitcircle','unitsquare','up','urlpen','urlskip','version','vertexpen','vertexsize','viewportmargin','viewportsize','vline','white','wye','xformStack','yellow','ylabelwidth','zerotickfuzz','zerowinding'
)
),
'SYMBOLS' => array(
0 => array(
'(', ')', '{', '}', '[', ']'
),
1 => array('<', '>','='),
2 => array('+', '-', '*', '/', '%'),
3 => array('!', '^', '&', '|'),
4 => array('?', ':', ';'),
5 => array('..')
),
'CASE_SENSITIVE' => array(
GESHI_COMMENTS => false,
1 => true,
2 => true,
3 => true,
4 => true
),
'STYLES' => array(
'KEYWORDS' => array(
1 => 'color: #b1b100;',
2 => 'color: #000000; font-weight: bold;',
3 => 'color: #990000;',
4 => 'color: #009900; font-weight: bold;'
),
'COMMENTS' => array(
1 => 'color: #666666;',
2 => 'color: #339900;',
'MULTI' => 'color: #ff0000; font-style: italic;'
),
'ESCAPE_CHAR' => array(
0 => 'color: #000099; font-weight: bold;',
1 => 'color: #000099; font-weight: bold;',
2 => 'color: #660099; font-weight: bold;',
3 => 'color: #660099; font-weight: bold;',
4 => 'color: #660099; font-weight: bold;',
5 => 'color: #006699; font-weight: bold;',
'HARD' => '',
),
'BRACKETS' => array(
0 => 'color: #008000;'
),
'STRINGS' => array(
0 => 'color: #FF0000;'
),
'NUMBERS' => array(
0 => 'color: #0000dd;',
GESHI_NUMBER_BIN_PREFIX_0B => 'color: #208080;',
GESHI_NUMBER_OCT_PREFIX => 'color: #208080;',
GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
GESHI_NUMBER_FLT_SCI_SHORT => 'color:#800080;',
GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
GESHI_NUMBER_FLT_NONSCI_F => 'color:#800080;',
GESHI_NUMBER_FLT_NONSCI => 'color:#800080;'
),
'METHODS' => array(
1 => 'color: #007788;',
2 => 'color: #007788;'
),
'SYMBOLS' => array(
0 => 'color: #008000;',
1 => 'color: #000080;',
2 => 'color: #000040;',
3 => 'color: #000040;',
4 => 'color: #008080;',
5 => 'color: #009080;'
),
'REGEXPS' => array(
),
'SCRIPT' => array(
)
),
'URLS' => array(
1 => '',
2 => '',
3 => '',
4 => ''
),
'OOLANG' => true,
'OBJECT_SPLITTERS' => array(
1 => '.',
2 => '::'
),
'REGEXPS' => array(
),
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
'SCRIPT_DELIMITERS' => array(
),
'HIGHLIGHT_STRICT_BLOCK' => array(
),
'TAB_WIDTH' => 4,
'PARSER_CONTROL' => array(
'KEYWORDS' => array(
'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\#])",
'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_\|%\\-])"
)
)
);

?>

+ 1
- 1
paste/geshi/autoconf.php View File

@@ -4,7 +4,7 @@
* ----- * -----
* Author: Mihai Vasilian (grayasm@gmail.com) * Author: Mihai Vasilian (grayasm@gmail.com)
* Copyright: (c) 2010 Mihai Vasilian * Copyright: (c) 2010 Mihai Vasilian
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/01/25 * Date Started: 2010/01/25
* *
* autoconf language file for GeSHi. * autoconf language file for GeSHi.


+ 1
- 1
paste/geshi/autohotkey.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Naveen Garg (naveen.garg@gmail.com) * Author: Naveen Garg (naveen.garg@gmail.com)
* Copyright: (c) 2009 Naveen Garg and GeSHi * Copyright: (c) 2009 Naveen Garg and GeSHi
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/06/11 * Date Started: 2009/06/11
* *
* Autohotkey language file for GeSHi. * Autohotkey language file for GeSHi.


+ 1
- 1
paste/geshi/autoit.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: big_daddy (robert.i.anthony@gmail.com) * Author: big_daddy (robert.i.anthony@gmail.com)
* Copyright: (c) 2006 and to GESHi ;) * Copyright: (c) 2006 and to GESHi ;)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2006/01/26 * Date Started: 2006/01/26
* *
* AutoIT language file for GeSHi. * AutoIT language file for GeSHi.


+ 1
- 1
paste/geshi/avisynth.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Ryan Jones (sciguyryan@gmail.com) * Author: Ryan Jones (sciguyryan@gmail.com)
* Copyright: (c) 2008 Ryan Jones * Copyright: (c) 2008 Ryan Jones
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2008/10/08 * Date Started: 2008/10/08
* *
* AviSynth language file for GeSHi. * AviSynth language file for GeSHi.


+ 1
- 1
paste/geshi/awk.php View File

@@ -4,7 +4,7 @@
* ------- * -------
* Author: George Pollard (porges@porg.es) * Author: George Pollard (porges@porg.es)
* Copyright: (c) 2009 George Pollard * Copyright: (c) 2009 George Pollard
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/01/28 * Date Started: 2009/01/28
* *
* Awk language file for GeSHi. * Awk language file for GeSHi.


+ 1
- 1
paste/geshi/bascomavr.php View File

@@ -4,7 +4,7 @@
* --------------------------------- * ---------------------------------
* Author: aquaticus.info * Author: aquaticus.info
* Copyright: (c) 2008 aquaticus.info * Copyright: (c) 2008 aquaticus.info
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2008/01/09 * Date Started: 2008/01/09
* *
* BASCOM AVR language file for GeSHi. * BASCOM AVR language file for GeSHi.


+ 3
- 3
paste/geshi/bash.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Andreas Gohr (andi@splitbrain.org) * Author: Andreas Gohr (andi@splitbrain.org)
* Copyright: (c) 2004 Andreas Gohr, Nigel McNie (http://qbnz.com/highlighter) * Copyright: (c) 2004 Andreas Gohr, Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/08/20 * Date Started: 2004/08/20
* *
* BASH language file for GeSHi. * BASH language file for GeSHi.
@@ -157,8 +157,8 @@ $language_data = array (


'ed', 'egrep', 'env', 'expr', 'ed', 'egrep', 'env', 'expr',


'false', 'fbset', 'ffmpeg', 'fgconsole','fgrep', 'file', 'find',
'flex', 'flex++', 'fmt', 'free', 'ftp', 'funzip', 'fuser',
'false', 'fbset', 'fdisk', 'ffmpeg', 'fgconsole','fgrep', 'file',
'find', 'flex', 'flex++', 'fmt', 'free', 'ftp', 'funzip', 'fuser',


'g++', 'gawk', 'gc','gcc', 'gdb', 'getent', 'getkeycodes', 'g++', 'gawk', 'gc','gcc', 'gdb', 'getent', 'getkeycodes',
'getopt', 'gettext', 'gettextize', 'gimp', 'gimp-remote', 'getopt', 'gettext', 'gettextize', 'gimp', 'gimp-remote',


+ 1
- 1
paste/geshi/basic4gl.php View File

@@ -4,7 +4,7 @@
* --------------------------------- * ---------------------------------
* Author: Matthew Webb (bmatthew1@blueyonder.co.uk) * Author: Matthew Webb (bmatthew1@blueyonder.co.uk)
* Copyright: (c) 2004 Matthew Webb (http://matthew-4gl.wikispaces.com) * Copyright: (c) 2004 Matthew Webb (http://matthew-4gl.wikispaces.com)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2007/09/15 * Date Started: 2007/09/15
* *
* Basic4GL language file for GeSHi. * Basic4GL language file for GeSHi.


+ 8
- 7
paste/geshi/bf.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Benny Baumann (BenBE@geshi.org) * Author: Benny Baumann (BenBE@geshi.org)
* Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/) * Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/10/31 * Date Started: 2009/10/31
* *
* Brainfuck language file for GeSHi. * Brainfuck language file for GeSHi.
@@ -63,7 +63,7 @@ $language_data = array (
1 => 'color: #666666; font-style: italic;' 1 => 'color: #666666; font-style: italic;'
), ),
'BRACKETS' => array( 'BRACKETS' => array(
0 => 'color: #66cc66;'
0 => 'color: #660000;'
), ),
'STRINGS' => array( 'STRINGS' => array(
0 => 'color: #ff0000;' 0 => 'color: #ff0000;'
@@ -76,8 +76,8 @@ $language_data = array (
0 => 'color: #006600;', 0 => 'color: #006600;',
1 => 'color: #660000;', 1 => 'color: #660000;',
2 => 'color: #000066;', 2 => 'color: #000066;',
3 => 'color: #660066;',
4 => 'color: #666600;'
3 => 'color: #666600;',
4 => 'color: #660066;'
), ),
'ESCAPE_CHAR' => array( 'ESCAPE_CHAR' => array(
), ),
@@ -102,8 +102,9 @@ $language_data = array (
'PARSER_CONTROL' => array( 'PARSER_CONTROL' => array(
'ENABLE_FLAGS' => array( 'ENABLE_FLAGS' => array(
'STRINGS' => GESHI_NEVER, 'STRINGS' => GESHI_NEVER,
'NUMBERS' => GESHI_NEVER
),
'NUMBERS' => GESHI_NEVER,
'BRACKETS' => GESHI_NEVER
),
'KEYWORDS' => array( 'KEYWORDS' => array(
'DISALLOW_BEFORE' => '', 'DISALLOW_BEFORE' => '',
'DISALLOW_AFTER' => '' 'DISALLOW_AFTER' => ''
@@ -111,4 +112,4 @@ $language_data = array (
) )
); );


?>
?>

+ 1
- 1
paste/geshi/bibtex.php View File

@@ -4,7 +4,7 @@
* ----- * -----
* Author: Quinn Taylor (quinntaylor@mac.com) * Author: Quinn Taylor (quinntaylor@mac.com)
* Copyright: (c) 2009 Quinn Taylor (quinntaylor@mac.com), Nigel McNie (http://qbnz.com/highlighter) * Copyright: (c) 2009 Quinn Taylor (quinntaylor@mac.com), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/04/29 * Date Started: 2009/04/29
* *
* BibTeX language file for GeSHi. * BibTeX language file for GeSHi.


+ 2
- 2
paste/geshi/blitzbasic.php View File

@@ -4,7 +4,7 @@
* -------------- * --------------
* Author: P�draig O`Connel (info@moonsword.info) * Author: P�draig O`Connel (info@moonsword.info)
* Copyright: (c) 2005 P�draig O`Connel (http://moonsword.info) * Copyright: (c) 2005 P�draig O`Connel (http://moonsword.info)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 16.10.2005 * Date Started: 16.10.2005
* *
* BlitzBasic language file for GeSHi. * BlitzBasic language file for GeSHi.
@@ -56,7 +56,7 @@ $language_data = array (
'ESCAPE_CHAR' => '', 'ESCAPE_CHAR' => '',
'KEYWORDS' => array( 'KEYWORDS' => array(
1 => array( 1 => array(
'If','EndIf','ElseIf','Else If','Else','While','Wend','Return','Next','Include','End Type','End Select','End If','End Function','End','Select',
'If','EndIf','ElseIf','Else','While','Wend','Return','Next','Include','End Type','End Select','End If','End Function','End','Select',
'Type','Forever','For','Or','And','AppTitle','Case','Goto','Gosub','Step','Stop','Int','Last','False','Then','To','True','Until','Float', 'Type','Forever','For','Or','And','AppTitle','Case','Goto','Gosub','Step','Stop','Int','Last','False','Then','To','True','Until','Float',
'String','Before','Not' 'String','Before','Not'
), ),


+ 1
- 1
paste/geshi/bnf.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Rowan Rodrik van der Molen (rowan@bigsmoke.us) * Author: Rowan Rodrik van der Molen (rowan@bigsmoke.us)
* Copyright: (c) 2006 Rowan Rodrik van der Molen (http://www.bigsmoke.us/) * Copyright: (c) 2006 Rowan Rodrik van der Molen (http://www.bigsmoke.us/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2006/09/28 * Date Started: 2006/09/28
* *
* BNF (Backus-Naur form) language file for GeSHi. * BNF (Backus-Naur form) language file for GeSHi.


+ 1
- 1
paste/geshi/boo.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Marcus Griep (neoeinstein+GeSHi@gmail.com) * Author: Marcus Griep (neoeinstein+GeSHi@gmail.com)
* Copyright: (c) 2007 Marcus Griep (http://www.xpdm.us) * Copyright: (c) 2007 Marcus Griep (http://www.xpdm.us)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2007/09/10 * Date Started: 2007/09/10
* *
* Boo language file for GeSHi. * Boo language file for GeSHi.


+ 1
- 1
paste/geshi/c.php View File

@@ -7,7 +7,7 @@
* - Jack Lloyd (lloyd@randombit.net) * - Jack Lloyd (lloyd@randombit.net)
* - Michael Mol (mikemol@gmail.com) * - Michael Mol (mikemol@gmail.com)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/06/04 * Date Started: 2004/06/04
* *
* C language file for GeSHi. * C language file for GeSHi.


+ 1
- 1
paste/geshi/c_loadrunner.php View File

@@ -4,7 +4,7 @@
* --------------------------------- * ---------------------------------
* Author: Stuart Moncrieff (stuart at myloadtest dot com) * Author: Stuart Moncrieff (stuart at myloadtest dot com)
* Copyright: (c) 2010 Stuart Moncrieff (http://www.myloadtest.com/loadrunner-syntax-highlighter/) * Copyright: (c) 2010 Stuart Moncrieff (http://www.myloadtest.com/loadrunner-syntax-highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010-07-25 * Date Started: 2010-07-25
* *
* C (for LoadRunner) language file for GeSHi. * C (for LoadRunner) language file for GeSHi.


+ 1
- 1
paste/geshi/c_mac.php View File

@@ -4,7 +4,7 @@
* --------- * ---------
* Author: M. Uli Kusterer (witness.of.teachtext@gmx.net) * Author: M. Uli Kusterer (witness.of.teachtext@gmx.net)
* Copyright: (c) 2004 M. Uli Kusterer, Nigel McNie (http://qbnz.com/highlighter/) * Copyright: (c) 2004 M. Uli Kusterer, Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/06/04 * Date Started: 2004/06/04
* *
* C for Macs language file for GeSHi. * C for Macs language file for GeSHi.


+ 1
- 1
paste/geshi/caddcl.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Roberto Rossi (rsoftware@altervista.org) * Author: Roberto Rossi (rsoftware@altervista.org)
* Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/08/30 * Date Started: 2004/08/30
* *
* CAD DCL (Dialog Control Language) language file for GeSHi. * CAD DCL (Dialog Control Language) language file for GeSHi.


+ 1
- 1
paste/geshi/cadlisp.php View File

@@ -4,7 +4,7 @@
* ----------- * -----------
* Author: Roberto Rossi (rsoftware@altervista.org) * Author: Roberto Rossi (rsoftware@altervista.org)
* Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/blog) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/blog)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/08/30 * Date Started: 2004/08/30
* *
* AutoCAD/IntelliCAD Lisp language file for GeSHi. * AutoCAD/IntelliCAD Lisp language file for GeSHi.


+ 1
- 1
paste/geshi/cfdg.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: John Horigan <john@glyphic.com> * Author: John Horigan <john@glyphic.com>
* Copyright: (c) 2006 John Horigan http://www.ozonehouse.com/john/ * Copyright: (c) 2006 John Horigan http://www.ozonehouse.com/john/
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2006/03/11 * Date Started: 2006/03/11
* *
* CFDG language file for GeSHi. * CFDG language file for GeSHi.


+ 1
- 1
paste/geshi/cfm.php View File

@@ -4,7 +4,7 @@
* ------- * -------
* Author: Diego * Author: Diego
* Copyright: (c) 2006 Diego * Copyright: (c) 2006 Diego
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2006/02/25 * Date Started: 2006/02/25
* *
* ColdFusion language file for GeSHi. * ColdFusion language file for GeSHi.


+ 2
- 2
paste/geshi/chaiscript.php View File

@@ -6,7 +6,7 @@
* Copyright: (c) 2010 Jason Turner (lefticus@gmail.com), * Copyright: (c) 2010 Jason Turner (lefticus@gmail.com),
* (c) 2009 Jonathan Turner, * (c) 2009 Jonathan Turner,
* (c) 2004 Ben Keen (ben.keen@gmail.com), Benny Baumann (http://qbnz.com/highlighter) * (c) 2004 Ben Keen (ben.keen@gmail.com), Benny Baumann (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/07/03 * Date Started: 2009/07/03
* *
* ChaiScript language file for GeSHi. * ChaiScript language file for GeSHi.
@@ -52,7 +52,7 @@ $language_data = array (
'ESCAPE_CHAR' => '\\', 'ESCAPE_CHAR' => '\\',
'KEYWORDS' => array( 'KEYWORDS' => array(
1 => array( 1 => array(
'break', 'else', 'else if', 'eval', 'for', 'if', 'return', 'while', 'try', 'catch', 'finally',
'break', 'else', 'elseif', 'eval', 'for', 'if', 'return', 'while', 'try', 'catch', 'finally',
), ),
2 => array( 2 => array(
'def', 'false', 'fun', 'true', 'var', 'attr', 'def', 'false', 'fun', 'true', 'var', 'attr',


+ 1
- 1
paste/geshi/cil.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Marcus Griep (neoeinstein+GeSHi@gmail.com) * Author: Marcus Griep (neoeinstein+GeSHi@gmail.com)
* Copyright: (c) 2007 Marcus Griep (http://www.xpdm.us) * Copyright: (c) 2007 Marcus Griep (http://www.xpdm.us)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2007/10/24 * Date Started: 2007/10/24
* *
* CIL (Common Intermediate Language) language file for GeSHi. * CIL (Common Intermediate Language) language file for GeSHi.


+ 1
- 1
paste/geshi/clojure.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Jess Johnson (jess@grok-code.com) * Author: Jess Johnson (jess@grok-code.com)
* Copyright: (c) 2009 Jess Johnson (http://grok-code.com) * Copyright: (c) 2009 Jess Johnson (http://grok-code.com)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/09/20 * Date Started: 2009/09/20
* *
* Clojure language file for GeSHi. * Clojure language file for GeSHi.


+ 1
- 1
paste/geshi/cmake.php View File

@@ -4,7 +4,7 @@
* ------- * -------
* Author: Daniel Nelson (danieln@eng.utah.edu) * Author: Daniel Nelson (danieln@eng.utah.edu)
* Copyright: (c) 2009 Daniel Nelson * Copyright: (c) 2009 Daniel Nelson
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/04/06 * Date Started: 2009/04/06
* *
* CMake language file for GeSHi. * CMake language file for GeSHi.


+ 1
- 1
paste/geshi/cobol.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: BenBE (BenBE@omorphia.org) * Author: BenBE (BenBE@omorphia.org)
* Copyright: (c) 2007-2008 BenBE (http://www.omorphia.de/) * Copyright: (c) 2007-2008 BenBE (http://www.omorphia.de/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2007/07/02 * Date Started: 2007/07/02
* *
* COBOL language file for GeSHi. * COBOL language file for GeSHi.


+ 1
- 1
paste/geshi/coffeescript.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Trevor Burnham (trevorburnham@gmail.com) * Author: Trevor Burnham (trevorburnham@gmail.com)
* Copyright: (c) 2010 Trevor Burnham (http://iterative.ly) * Copyright: (c) 2010 Trevor Burnham (http://iterative.ly)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/06/08 * Date Started: 2010/06/08
* *
* CoffeeScript language file for GeSHi. * CoffeeScript language file for GeSHi.


+ 3
- 3
paste/geshi/cpp-qt.php View File

@@ -4,10 +4,10 @@
* ------- * -------
* Author: Iulian M * Author: Iulian M
* Copyright: (c) 2006 Iulian M * Copyright: (c) 2006 Iulian M
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/09/27 * Date Started: 2004/09/27
* *
* C++ (with QT extensions) language file for GeSHi.
* C++ (with Qt extensions) language file for GeSHi.
* *
* CHANGES * CHANGES
* ------- * -------
@@ -41,7 +41,7 @@
************************************************************************************/ ************************************************************************************/


$language_data = array ( $language_data = array (
'LANG_NAME' => 'C++ (QT)',
'LANG_NAME' => 'C++ (Qt)',
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'), 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
'COMMENT_MULTI' => array('/*' => '*/'), 'COMMENT_MULTI' => array('/*' => '*/'),
'COMMENT_REGEXP' => array( 'COMMENT_REGEXP' => array(


+ 1
- 1
paste/geshi/cpp.php View File

@@ -7,7 +7,7 @@
* - M. Uli Kusterer (witness.of.teachtext@gmx.net) * - M. Uli Kusterer (witness.of.teachtext@gmx.net)
* - Jack Lloyd (lloyd@randombit.net) * - Jack Lloyd (lloyd@randombit.net)
* Copyright: (c) 2004 Dennis Bayer, Nigel McNie (http://qbnz.com/highlighter) * Copyright: (c) 2004 Dennis Bayer, Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/09/27 * Date Started: 2004/09/27
* *
* C++ language file for GeSHi. * C++ language file for GeSHi.


+ 11
- 8
paste/geshi/csharp.php View File

@@ -5,13 +5,15 @@
* Author: Alan Juden (alan@judenware.org) * Author: Alan Juden (alan@judenware.org)
* Revised by: Michael Mol (mikemol@gmail.com) * Revised by: Michael Mol (mikemol@gmail.com)
* Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/) * Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/06/04 * Date Started: 2004/06/04
* *
* C# language file for GeSHi. * C# language file for GeSHi.
* *
* CHANGES * CHANGES
* ------- * -------
* 2012/06/18 (1.0.8.11)
* - Added missing keywords (Christian Stelzmann)
* 2009/04/03 (1.0.8.6) * 2009/04/03 (1.0.8.6)
* - Added missing keywords identified by Rosetta Code users. * - Added missing keywords identified by Rosetta Code users.
* 2008/05/25 (1.0.7.22) * 2008/05/25 (1.0.7.22)
@@ -60,14 +62,15 @@ $language_data = array (
'ESCAPE_CHAR' => '\\', 'ESCAPE_CHAR' => '\\',
'KEYWORDS' => array( 'KEYWORDS' => array(
1 => array( 1 => array(
'as', 'auto', 'base', 'break', 'case', 'catch', 'const', 'continue',
'abstract', 'add', 'as', 'base', 'break', 'by', 'case', 'catch', 'const', 'continue',
'default', 'do', 'else', 'event', 'explicit', 'extern', 'false', 'default', 'do', 'else', 'event', 'explicit', 'extern', 'false',
'finally', 'fixed', 'for', 'foreach', 'from', 'goto', 'if',
'implicit', 'in', 'internal', 'lock', 'namespace', 'null',
'finally', 'fixed', 'for', 'foreach', 'from', 'get', 'goto', 'group', 'if',
'implicit', 'in', 'into', 'internal', 'join', 'lock', 'namespace', 'null',
'operator', 'out', 'override', 'params', 'partial', 'private', 'operator', 'out', 'override', 'params', 'partial', 'private',
'protected', 'public', 'readonly', 'ref', 'return', 'sealed',
'select', 'stackalloc', 'static', 'switch', 'this', 'throw', 'true',
'try', 'unsafe', 'using', 'virtual', 'where', 'while', 'yield'
'protected', 'public', 'readonly', 'remove', 'ref', 'return', 'sealed',
'select', 'set', 'stackalloc', 'static', 'switch', 'this', 'throw', 'true',
'try', 'unsafe', 'using', 'var', 'value', 'virtual', 'volatile', 'where',
'while', 'yield'
), ),
2 => array( 2 => array(
'#elif', '#endif', '#endregion', '#else', '#error', '#define', '#if', '#elif', '#endif', '#endregion', '#else', '#error', '#define', '#if',
@@ -78,7 +81,7 @@ $language_data = array (
), ),
4 => array( 4 => array(
'bool', 'byte', 'char', 'class', 'decimal', 'delegate', 'double', 'bool', 'byte', 'char', 'class', 'decimal', 'delegate', 'double',
'enum', 'float', 'int', 'interface', 'long', 'object', 'sbyte',
'dynamic', 'enum', 'float', 'int', 'interface', 'long', 'object', 'sbyte',
'short', 'string', 'struct', 'uint', 'ulong', 'ushort', 'void' 'short', 'string', 'struct', 'uint', 'ulong', 'ushort', 'void'
), ),
5 => array( 5 => array(


+ 5
- 2
paste/geshi/css.php View File

@@ -4,7 +4,7 @@
* ------- * -------
* Author: Nigel McNie (nigel@geshi.org) * Author: Nigel McNie (nigel@geshi.org)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/06/18 * Date Started: 2004/06/18
* *
* CSS language file for GeSHi. * CSS language file for GeSHi.
@@ -72,6 +72,8 @@ $language_data = array (
'aqua', 'azimuth', 'background-attachment', 'background-color', 'aqua', 'azimuth', 'background-attachment', 'background-color',
'background-image', 'background-position', 'background-repeat', 'background-image', 'background-position', 'background-repeat',
'background', 'black', 'blue', 'border-bottom-color', 'background', 'black', 'blue', 'border-bottom-color',
'border-radius', 'border-top-left-radius', 'border-top-right-radius',
'border-bottom-right-radius', 'border-bottom-left-radius',
'border-bottom-style', 'border-bottom-width', 'border-left-color', 'border-bottom-style', 'border-bottom-width', 'border-left-color',
'border-left-style', 'border-left-width', 'border-right', 'border-left-style', 'border-left-width', 'border-right',
'border-right-color', 'border-right-style', 'border-right-width', 'border-right-color', 'border-right-style', 'border-right-width',
@@ -215,7 +217,8 @@ $language_data = array (
'TAB_WIDTH' => 4, 'TAB_WIDTH' => 4,
'PARSER_CONTROL' => array( 'PARSER_CONTROL' => array(
'KEYWORDS' => array( 'KEYWORDS' => array(
'DISALLOWED_AFTER' => '(?![a-zA-Z0-9_\|%\\-&\.])'
'DISALLOWED_AFTER' => '(?![\-a-zA-Z0-9_\|%\\-&\.])',
'DISALLOWED_BEFORE' => '(?<![\-a-zA-Z0-9_\|%\\~&\.])'
) )
) )
); );


+ 1
- 1
paste/geshi/cuesheet.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Benny Baumann (benbe@geshi.org) * Author: Benny Baumann (benbe@geshi.org)
* Copyright: (c) 2009 Benny Baumann (http://qbnz.com/highlighter/) * Copyright: (c) 2009 Benny Baumann (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/12/21 * Date Started: 2009/12/21
* *
* Cuesheet language file for GeSHi. * Cuesheet language file for GeSHi.


+ 24
- 44
paste/geshi/d.php View File

@@ -3,14 +3,18 @@
* d.php * d.php
* ----- * -----
* Author: Thomas Kuehne (thomas@kuehne.cn) * Author: Thomas Kuehne (thomas@kuehne.cn)
* Contributors:
* - Jimmy Cao
* Copyright: (c) 2005 Thomas Kuehne (http://thomas.kuehne.cn/) * Copyright: (c) 2005 Thomas Kuehne (http://thomas.kuehne.cn/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2005/04/22 * Date Started: 2005/04/22
* *
* D language file for GeSHi. * D language file for GeSHi.
* *
* CHANGES * CHANGES
* ------- * -------
* 2011/06/28 (0.0.3) (Jimmy Cao)
* - added D2 features
* 2005/04/22 (0.0.2) * 2005/04/22 (0.0.2)
* - added _d_* and sizeof/ptrdiff_t * - added _d_* and sizeof/ptrdiff_t
* 2005/04/20 (0.0.1) * 2005/04/20 (0.0.1)
@@ -45,7 +49,7 @@
$language_data = array ( $language_data = array (
'LANG_NAME' => 'D', 'LANG_NAME' => 'D',
'COMMENT_SINGLE' => array(2 => '///', 1 => '//'), 'COMMENT_SINGLE' => array(2 => '///', 1 => '//'),
'COMMENT_MULTI' => array('/*' => '*/'),
'COMMENT_MULTI' => array('/*' => '*/', '/+' => '+/'),
'COMMENT_REGEXP' => array( 'COMMENT_REGEXP' => array(
// doxygen comments // doxygen comments
3 => '#/\*\*(?![\*\/]).*\*/#sU', 3 => '#/\*\*(?![\*\/]).*\*/#sU',
@@ -126,63 +130,39 @@ $language_data = array (
1 => array( 1 => array(
'break', 'case', 'continue', 'do', 'else', 'break', 'case', 'continue', 'do', 'else',
'for', 'foreach', 'goto', 'if', 'return', 'for', 'foreach', 'goto', 'if', 'return',
'switch', 'while'
'switch', 'while', 'foreach_reverse'
), ),
2 => array( 2 => array(
'alias', 'asm', 'assert', 'body', 'cast', 'alias', 'asm', 'assert', 'body', 'cast',
'catch', 'default', 'delegate', 'delete', 'catch', 'default', 'delegate', 'delete',
'extern', 'false', 'finally', 'function', 'extern', 'false', 'finally', 'function',
'import', 'in', 'inout', 'interface',
'invariant', 'is', 'mixin', 'module', 'new',
'import', 'in', 'inout',
'invariant', 'is', 'lazy', 'mixin', 'module', 'new',
'null', 'out', 'pragma', 'ref', 'super', 'this', 'null', 'out', 'pragma', 'ref', 'super', 'this',
'throw', 'true', 'try', 'typedef', 'typeid',
'typeof', 'union', 'with'
'throw', 'true', 'try', 'typeid',
'typeof', 'union', 'with', 'scope'
), ),
3 => array( 3 => array(
'ArrayBoundsError', 'AssertError',
'ClassInfo', 'Error', 'Exception', 'ClassInfo', 'Error', 'Exception',
'Interface', 'ModuleInfo', 'Object',
'OutOfMemoryException', 'SwitchError',
'TypeInfo', '_d_arrayappend',
'_d_arrayappendb', '_d_arrayappendc',
'_d_arrayappendcb', '_d_arraycast',
'_d_arraycast_frombit', '_d_arraycat',
'_d_arraycatb', '_d_arraycatn',
'_d_arraycopy', '_d_arraycopybit',
'_d_arraysetbit', '_d_arraysetbit2',
'_d_arraysetlength', '_d_arraysetlengthb',
'_d_callfinalizer',
'_d_create_exception_object',
'_d_criticalenter', '_d_criticalexit',
'_d_delarray', '_d_delclass',
'_d_delinterface', '_d_delmemory',
'_d_dynamic_cast', '_d_exception',
'_d_exception_filter', '_d_framehandler',
'_d_interface_cast', '_d_interface_vtbl',
'_d_invariant', '_d_isbaseof',
'_d_isbaseof2', '_d_local_unwind',
'_d_monitorenter', '_d_monitorexit',
'_d_monitorrelease', '_d_monitor_epilog',
'_d_monitor_handler', '_d_monitor_prolog',
'_d_new', '_d_newarrayi', '_d_newbitarray',
'_d_newclass', '_d_obj_cmp', '_d_obj_eq',
'_d_OutOfMemory', '_d_switch_dstring',
'_d_switch_string', '_d_switch_ustring',
'_d_throw',
'Interface', 'Object', 'IMonitor',
'OffsetTypeInfo', 'Throwable',
'TypeInfo_Class', 'TypeInfo', '__traits',
'__EOF__', '__FILE__', '__LINE__',
), ),
4 => array( 4 => array(
'abstract', 'align', 'auto', 'bit', 'bool', 'abstract', 'align', 'auto', 'bit', 'bool',
'byte', 'cdouble', 'cent', 'cfloat', 'char',
'class', 'const', 'creal', 'dchar', 'debug',
'byte', 'cdouble', 'cfloat', 'char',
'class', 'const', 'creal', 'dchar', 'dstring', 'debug',
'deprecated', 'double', 'enum', 'export', 'deprecated', 'double', 'enum', 'export',
'final', 'float', 'idouble', 'ifloat', 'int',
'ireal', 'long', 'override', 'package',
'private', 'protected', 'ptrdiff_t',
'public', 'real', 'short', 'size_t',
'static', 'struct', 'synchronized',
'final', 'float', 'idouble', 'ifloat', 'immutable', 'int',
'interface', 'ireal', 'long', 'nothrow', 'override',
'package', 'private', 'protected', 'ptrdiff_t',
'public', 'real', 'short', 'shared', 'size_t',
'static', 'string', 'struct', 'synchronized',
'template', 'ubyte', 'ucent', 'uint', 'template', 'ubyte', 'ucent', 'uint',
'ulong', 'unittest', 'ushort', 'version', 'ulong', 'unittest', 'ushort', 'version',
'void', 'volatile', 'wchar'
'void', 'volatile', 'wchar', 'wstring',
'__gshared', '@disable', '@property', 'pure', 'safe'
) )
), ),
'SYMBOLS' => array( 'SYMBOLS' => array(


+ 192
- 0
paste/geshi/dcl.php View File

@@ -0,0 +1,192 @@
<?php
/*************************************************************************************
* dcl.php
* --------
* Author: Petr Hendl (petr@hendl.cz)
* Copyright: (c) 2011 Petr Hendl http://hendl.cz/geshi/
* Release Version: 1.0.8.11
* Date Started: 2011/02/17
*
* DCL language file for GeSHi.
*
* CHANGES
* -------
* 2011-02-17 (1.0.8.11)
* - First Release
*
* TODO
* -------------------------
*
*************************************************************************************
*
* This file is part of GeSHi.
*
* GeSHi is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GeSHi is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GeSHi; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
************************************************************************************/

$language_data = array (
'LANG_NAME' => 'DCL',
'COMMENT_SINGLE' => array('$!', '!'),
'COMMENT_MULTI' => array(),
'COMMENT_REGEXP' => array(
2 => '/(?<=\$)\s*sql\s+.*?(?:quit|exit);?\s*?$/sim' // do not highlight inline sql
),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array('"'),
'HARDESCAPE' => array(),
'ESCAPE_CHAR' => '',
'ESCAPE_REGEXP' => array(
1 => "/''[a-zA-Z\\-_]+'/"
),
'KEYWORDS' => array(
1 => array( // commands
'ACCOUNTING', 'ALLOCATE', 'ANALYZE', 'APPEND', 'ASSIGN', 'ATTACH', 'BACKUP',
'CALL', 'CANCEL', 'CHECKSUM', 'CLOSE', 'CONNECT', 'CONTINUE', 'CONVERT',
'COPY', 'CREATE', 'DEALLOCATE', 'DEASSIGN', 'DEBUG', 'DECK',
'DECRYPT', 'DEFINE', 'DELETE', 'DEPOSIT', 'DIFFERENCES', 'DIRECTORY',
'DISABLE', 'AUTOSTART', 'DISCONNECT', 'DISMOUNT', 'DUMP', 'EDIT', 'ENABLE',
'ENCRYPT', 'ENDSUBROUTINE', 'EOD', 'EOJ', 'EXAMINE', 'EXCHANGE',
'EXIT', 'FONT', 'GOSUB', 'GOTO', 'HELP', 'IF', 'THEN', 'ELSE', 'ENDIF', 'INITIALIZE', 'INQUIRE',
'INSTALL', 'JAVA', 'JOB', 'LIBRARY', 'LICENSE', 'LINK', 'LOGIN', 'LOGOUT',
'MACRO', 'MAIL', 'MERGE', 'MESSAGE', 'MONITOR', 'MOUNT', 'NCS', 'ON', 'OPEN',
'PASSWORD', 'PATCH', 'PHONE', 'PIPE', 'PPPD', 'PRINT', 'PRODUCT', 'PURGE',
'READ', 'RECALL', 'RENAME', 'REPLY', 'REQUEST', 'RETURN', 'RMU', 'RUN', 'RUNOFF',
'SEARCH', 'SET', 'SET AUDIT', 'SET BOOTBLOCK', 'SET BROADCAST',
'SET CACHE', 'SET CARD_READER', 'SET CLUSTER', 'SET COMMAND', 'SET CONTROL',
'SET CPU', 'SET DAY', 'SET DEFAULT', 'SET DEVICE', 'SET DIRECTORY',
'SET DISPLAY', 'SET ENTRY', 'SET FILE', 'SET HOST', 'SET IMAGE', 'SET KEY',
'SET LOGINS', 'SET MAGTAPE', 'SET MESSAGE', 'SET NETWORK', 'SET ON', 'SET OUTPUT_RATE',
'SET PASSWORD', 'SET PREFERRED_PATH', 'SET PREFIX', 'SET PRINTER', 'SET PROCESS',
'SET PROMPT', 'SET PROTECTION', 'SET QUEUE', 'SET RESTART_VALUE',
'SET RIGHTS_LIST', 'SET RMS_DEFAULT', 'SET ROOT', 'SET SECURITY',
'SET SERVER ACME_SERVER', 'SET SERVER REGISTRY_SERVER', 'SET SERVER SECURITY_SERVER',
'SET SHADOW', 'SET SYMBOL', 'SET TERMINAL', 'SET TIME', 'SET VERIFY',
'SET VOLUME', 'SET WORKING_SET', 'SHOW', 'SHOW AUDIT',
'SHOW BROADCAST', 'SHOW CLUSTER', 'SHOW CPU', 'SHOW DEFAULT', 'SHOW DEVICES',
'SHOW DISPLAY', 'SHOW ENTRY', 'SHOW ERROR', 'SHOW FASTPATH', 'SHOW IMAGE',
'SHOW INTRUSION', 'SHOW KEY', 'SHOW LICENSE', 'SHOW LOGICAL', 'SHOW MEMORY',
'SHOW NETWORK', 'SHOW PRINTER', 'SHOW PROCESS', 'SHOW PROTECTION', 'SHOW QUEUE',
'SHOW QUOTA', 'SHOW RMS_DEFAULT', 'SHOW ROOT', 'SHOW SECURITY',
'SHOW SERVER ACME_SERVER', 'SHOW SERVER REGISTRY_SERVER', 'SHOW SHADOW',
'SHOW STATUS', 'SHOW SYMBOL', 'SHOW SYSTEM', 'SHOW TERMINAL', 'SHOW TIME',
'SHOW TRANSLATION', 'SHOW USERS', 'SHOW WORKING_SET', 'SHOW ZONE', 'SORT',
'SPAWN', 'START', 'STOP', 'SUBMIT', 'SUBROUTINE', 'SYNCHRONIZE', 'TYPE',
'UNLOCK', 'VIEW', 'WAIT', 'WRITE', 'XAUTH'
),
2 => array( // lexical functions
'F$CONTEXT', 'F$CSID', 'F$CUNITS', 'F$CVSI', 'F$CVTIME', 'F$CVUI',
'F$DELTA_TIME', 'F$DEVICE', 'F$DIRECTORY', 'F$EDIT', 'F$ELEMENT',
'F$ENVIRONMENT', 'F$EXTRACT', 'F$FAO', 'F$FID_TO_NAME', 'F$FILE_ATTRIBUTES',
'F$GETDVI', 'F$GETENV', 'F$GETJPI', 'F$GETQUI', 'F$GETSYI', 'F$IDENTIFIER',
'F$INTEGER', 'F$LENGTH', 'F$LICENSE', 'F$LOCATE', 'F$MATCH_WILD', 'F$MESSAGE',
'F$MODE', 'F$MULTIPATH', 'F$PARSE', 'F$PID', 'F$PRIVILEGE', 'F$PROCESS',
'F$SEARCH', 'F$SETPRV', 'F$STRING', 'F$TIME', 'F$TRNLNM', 'F$TYPE', 'F$UNIQUE',
'F$USER', 'F$VERIFY'
),
3 => array( // special variables etc
'sql$database', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6', 'P7', 'P8', 'P9',
'$status', '$severity', 'sys$login', 'sys$system',
'sys$input', 'sys$output', 'sys$pipe'
)
),
'SYMBOLS' => array(
'(', ')', '[', ']', '@', '&', '|', '<', '>', '-',
'.eqs.', '.eq.', '.lt.', '.lts.', '.gt.', '.gts.', '.ne.', '.nes.',
'.le.', '.ge.', '.ges.', '.les.',
'.EQS.', '.EQ.', '.LT.', '.LTS.', '.GT.', '.GTS.', '.NE.', '.NES.',
'.LE.', '.GE.', '.GES.', '.LES.',
'.and.', '.or.', '.not.',
'.AND.', '.OR.', '.NOT.',
'==', ':==', '=', ':='
),
'CASE_SENSITIVE' => array(
GESHI_COMMENTS => false,
1 => false,
2 => false,
3 => false
),
'STYLES' => array(
'KEYWORDS' => array(
1 => 'color: #000099; font-weight: bold;',
2 => 'color: #0066FF;',
3 => 'color: #993300;'
),
'COMMENTS' => array(
0 => 'color: #666666; font-style: italic;',
1 => 'color: #666666; font-style: italic;',
2 => 'color: #9999FF; font-style: italic;'
),
'ESCAPE_CHAR' => array(
0 => 'color: #006666;',
1 => 'color: #0099FF;',
2 => 'color: red;',
3 => 'color: #007800;',
4 => 'color: #007800;',
5 => 'color: #780078;'
),
'BRACKETS' => array(
0 => 'color: #7a0874; font-weight: bold;'
),
'STRINGS' => array(
0 => 'color: #009900;'
),
'NUMBERS' => array(
0 => 'color: #000000;'
),
'METHODS' => array(
),
'SYMBOLS' => array(
0 => 'color: #000000; font-weight: bold;'
),
'REGEXPS' => array(
0 => 'color: #0099FF;', // variables
1 => 'color: #0000FF;', // qualifiers
2 => 'color: #FF6600; font-weight: bold;' // labels
),
'SCRIPT' => array(
)
),
'URLS' => array(
1 => '',
2 => '',
3 => ''
),
'OOLANG' => false,
'OBJECT_SPLITTERS' => array(
),
'REGEXPS' => array(
// variables
0 => "'[a-zA-Z_\\-$]+'",
// qualifiers and parameters
1 => "(?:\/[a-zA-Z_\/]+)[\s=]",
// labels
2 => '(?<=\$)\s*[a-zA-Z\-_]+:'
),
'STRICT_MODE_APPLIES' => GESHI_NEVER,
'SCRIPT_DELIMITERS' => array(
),
'HIGHLIGHT_STRICT_BLOCK' => array(
),
'TAB_WIDTH' => 4,
'PARSER_CONTROL' => array(
'COMMENTS' => array(
),
'KEYWORDS' => array(
)
)
);

?>

+ 131
- 0
paste/geshi/dcpu16.php View File

@@ -0,0 +1,131 @@
<?php
/*************************************************************************************
* dcpu16.php
* -------
* Author: Benny Baumann (BenBE@omorphia.de)
* Copyright: (c) 2007-2012 Benny Baumann (http://geshi.org/)
* Release Version: 1.0.8.11
* Date Started: 2012/04/12
*
* DCPU/16 Assembly language file for GeSHi.
* Syntax definition based on http://0x10c.com/doc/dcpu-16.txt
*
* CHANGES
* -------
* 2012/04/12 (1.0.0)
* - First Release
*
* TODO (updated 2012/04/12)
* -------------------------
*
*************************************************************************************
*
* This file is part of GeSHi.
*
* GeSHi is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GeSHi is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GeSHi; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
************************************************************************************/

$language_data = array (
'LANG_NAME' => 'DCPU-16 Assembly',
'COMMENT_SINGLE' => array(1 => ';'),
'COMMENT_MULTI' => array(),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array("'", '"'),
'ESCAPE_CHAR' => '',
'NUMBERS' => GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_HEX_PREFIX,
'KEYWORDS' => array(
/*CPU*/
1 => array(
'set','add','sub','mul','div','mod','shl','shr','and','bor','xor',
'ife','ifn','ifg','ifb',
'jsr'
),
/*registers*/
2 => array(
'a','b','c','x','y','z','i','j',
'pc','sp','o',
'pop','peek','push' //Special cases with DCPU-16
),
),
'SYMBOLS' => array(
'[', ']', '+', '-', ','
),
'CASE_SENSITIVE' => array(
GESHI_COMMENTS => false,
1 => false,
2 => false,
),
'STYLES' => array(
'KEYWORDS' => array(
1 => 'color: #000088; font-weight:bold;',
2 => 'color: #0000ff;'
),
'COMMENTS' => array(
1 => 'color: #adadad; font-style: italic;',
),
'ESCAPE_CHAR' => array(
0 => 'color: #000099; font-weight: bold;'
),
'BRACKETS' => array(
0 => 'color: #000088;'
),
'STRINGS' => array(
0 => 'color: #7f007f;'
),
'NUMBERS' => array(
0 => 'color: #880000;'
),
'METHODS' => array(
),
'SYMBOLS' => array(
0 => 'color: #008000;'
),
'REGEXPS' => array(
2 => 'color: #993333;'
),
'SCRIPT' => array(
)
),
'URLS' => array(
1 => 'http://0x10c.com/doc/dcpu-16.txt',
2 => ''
),
'OOLANG' => false,
'OBJECT_SPLITTERS' => array(
),
'REGEXPS' => array(
//Hex numbers
//0 => '0[0-9a-fA-F]{1,32}[hH]',
//Binary numbers
//1 => '\%[01]{1,64}|[01]{1,64}[bB]?(?![^<]*>)',
//Labels
2 => '^:[_a-zA-Z][_a-zA-Z0-9]?(?=\s|$)'
),
'STRICT_MODE_APPLIES' => GESHI_NEVER,
'SCRIPT_DELIMITERS' => array(
),
'HIGHLIGHT_STRICT_BLOCK' => array(
),
'TAB_WIDTH' => 4,
'PARSER_CONTROL' => array(
'KEYWORDS' => array(
'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\#\/])",
'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_\|%\\-])"
)
)
);

?>

+ 1
- 1
paste/geshi/dcs.php View File

@@ -4,7 +4,7 @@
* --------------------------------- * ---------------------------------
* Author: Stelio Passaris (GeSHi@stelio.net) * Author: Stelio Passaris (GeSHi@stelio.net)
* Copyright: (c) 2009 Stelio Passaris (http://stelio.net/stiki/GeSHi) * Copyright: (c) 2009 Stelio Passaris (http://stelio.net/stiki/GeSHi)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/01/20 * Date Started: 2009/01/20
* *
* DCS language file for GeSHi. * DCS language file for GeSHi.


+ 29
- 17
paste/geshi/delphi.php View File

@@ -4,13 +4,17 @@
* ---------- * ----------
* Author: J�rja Norbert (jnorbi@vipmail.hu), Benny Baumann (BenBE@omorphia.de) * Author: J�rja Norbert (jnorbi@vipmail.hu), Benny Baumann (BenBE@omorphia.de)
* Copyright: (c) 2004 J�rja Norbert, Benny Baumann (BenBE@omorphia.de), Nigel McNie (http://qbnz.com/highlighter) * Copyright: (c) 2004 J�rja Norbert, Benny Baumann (BenBE@omorphia.de), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/07/26 * Date Started: 2004/07/26
* *
* Delphi (Object Pascal) language file for GeSHi. * Delphi (Object Pascal) language file for GeSHi.
* *
* CHANGES * CHANGES
* ------- * -------
* 2012/06/27 (1.0.8.11)
* - Added some keywords
* - fixed hex numbers and hex char literals (including WideChar)
* - Added support for FPC-Style generics
* 2008/05/23 (1.0.7.22) * 2008/05/23 (1.0.7.22)
* - Added description of extra language features (SF#1970248) * - Added description of extra language features (SF#1970248)
* 2005/11/19 (1.0.3) * 2005/11/19 (1.0.3)
@@ -51,27 +55,28 @@ $language_data = array (
'COMMENT_MULTI' => array('(*' => '*)', '{' => '}'), 'COMMENT_MULTI' => array('(*' => '*)', '{' => '}'),
//Compiler directives //Compiler directives
'COMMENT_REGEXP' => array(2 => '/\\{\\$.*?}|\\(\\*\\$.*?\\*\\)/U'), 'COMMENT_REGEXP' => array(2 => '/\\{\\$.*?}|\\(\\*\\$.*?\\*\\)/U'),
'CASE_KEYWORDS' => 0,
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array("'"), 'QUOTEMARKS' => array("'"),
'ESCAPE_CHAR' => '', 'ESCAPE_CHAR' => '',

'KEYWORDS' => array( 'KEYWORDS' => array(
1 => array( 1 => array(
'Abstract', 'And', 'Array', 'As', 'Asm', 'At', 'Begin', 'Case', 'Abstract', 'And', 'Array', 'As', 'Asm', 'At', 'Begin', 'Case',
'Class', 'Const', 'Constructor', 'Contains', 'Destructor',
'Class', 'Const', 'Constructor', 'Contains', 'Default', 'delayed', 'Destructor',
'DispInterface', 'Div', 'Do', 'DownTo', 'Else', 'End', 'Except', 'DispInterface', 'Div', 'Do', 'DownTo', 'Else', 'End', 'Except',
'Export', 'Exports', 'External', 'File', 'Finalization', 'Finally',
'For', 'Function', 'Goto', 'If', 'Implementation', 'In', 'Inherited',
'Initialization', 'Inline', 'Interface', 'Is', 'Label', 'Library',
'Mod', 'Not', 'Object', 'Of', 'On', 'Or', 'Overload', 'Override',
'Export', 'Exports', 'External', 'File', 'Finalization', 'Finally', 'For',
'Function', 'Generic', 'Goto', 'If', 'Implementation', 'In', 'Inherited',
'Initialization', 'Inline', 'Interface', 'Is', 'Label', 'Library', 'Message',
'Mod', 'Nil', 'Not', 'Object', 'Of', 'On', 'Or', 'Overload', 'Override',
'Package', 'Packed', 'Private', 'Procedure', 'Program', 'Property', 'Package', 'Packed', 'Private', 'Procedure', 'Program', 'Property',
'Protected', 'Public', 'Published', 'Raise', 'Record', 'Register',
'Repeat', 'Requires', 'Resourcestring', 'Set', 'Shl', 'Shr', 'Then',
'ThreadVar', 'To', 'Try', 'Type', 'Unit', 'Until', 'Uses', 'Var',
'Virtual', 'While', 'With', 'Xor', 'assembler', 'far',
'Protected', 'Public', 'Published', 'Read', 'Raise', 'Record', 'Register',
'Repeat', 'Requires', 'Resourcestring', 'Set', 'Shl', 'Shr', 'Specialize', 'Stored',
'Then', 'ThreadVar', 'To', 'Try', 'Type', 'Unit', 'Until', 'Uses', 'Var',
'Virtual', 'While', 'With', 'Write', 'Xor', 'assembler', 'far',
'near', 'pascal', 'cdecl', 'safecall', 'stdcall', 'varargs' 'near', 'pascal', 'cdecl', 'safecall', 'stdcall', 'varargs'
), ),
2 => array( 2 => array(
'nil', 'false', 'self', 'true', 'var', 'type', 'const'
'false', 'self', 'true',
), ),
3 => array( 3 => array(
'Abs', 'AcquireExceptionObject', 'Addr', 'AnsiToUtf8', 'Append', 'ArcTan', 'Abs', 'AcquireExceptionObject', 'Addr', 'AnsiToUtf8', 'Append', 'ArcTan',
@@ -250,7 +255,7 @@ $language_data = array (
1 => 'color: #006600;' 1 => 'color: #006600;'
), ),
'REGEXPS' => array( 'REGEXPS' => array(
0 => 'color: #9ac;',
0 => 'color: #0000cc;',
1 => 'color: #ff0000;' 1 => 'color: #ff0000;'
), ),
'SYMBOLS' => array( 'SYMBOLS' => array(
@@ -274,16 +279,23 @@ $language_data = array (
), ),
'REGEXPS' => array( 'REGEXPS' => array(
//Hex numbers //Hex numbers
0 => '\$[0-9a-fA-F]+',
0 => '(?<!\#)\$[0-9a-fA-F]+(?!\w)',
//Characters //Characters
1 => '\#(?:\$[0-9a-fA-F]{1,2}|\d{1,3})'
1 => '\#(?:\$[0-9a-fA-F]{1,4}|\d{1,5})'
), ),
'STRICT_MODE_APPLIES' => GESHI_NEVER, 'STRICT_MODE_APPLIES' => GESHI_NEVER,
'SCRIPT_DELIMITERS' => array( 'SCRIPT_DELIMITERS' => array(
), ),
'HIGHLIGHT_STRICT_BLOCK' => array( 'HIGHLIGHT_STRICT_BLOCK' => array(
), ),
'TAB_WIDTH' => 2
'TAB_WIDTH' => 2,
'PARSER_CONTROL' => array(
'KEYWORDS' => array(
3 => array(
'DISALLOWED_AFTER' => '(?=\s*[(;])'
)
)
)
); );


?>
?>

+ 1
- 1
paste/geshi/diff.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Conny Brunnkvist (conny@fuchsia.se), W. Tasin (tasin@fhm.edu) * Author: Conny Brunnkvist (conny@fuchsia.se), W. Tasin (tasin@fhm.edu)
* Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/) * Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/12/29 * Date Started: 2004/12/29
* *
* Diff-output language file for GeSHi. * Diff-output language file for GeSHi.


+ 1
- 1
paste/geshi/div.php View File

@@ -4,7 +4,7 @@
* --------------------------------- * ---------------------------------
* Author: Gabriel Lorenzo (ermakina@gmail.com) * Author: Gabriel Lorenzo (ermakina@gmail.com)
* Copyright: (c) 2005 Gabriel Lorenzo (http://ermakina.gazpachito.net) * Copyright: (c) 2005 Gabriel Lorenzo (http://ermakina.gazpachito.net)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2005/06/19 * Date Started: 2005/06/19
* *
* DIV language file for GeSHi. * DIV language file for GeSHi.


+ 4
- 4
paste/geshi/dos.php View File

@@ -4,7 +4,7 @@
* ------- * -------
* Author: Alessandro Staltari (staltari@geocities.com) * Author: Alessandro Staltari (staltari@geocities.com)
* Copyright: (c) 2005 Alessandro Staltari (http://www.geocities.com/SiliconValley/Vista/8155/) * Copyright: (c) 2005 Alessandro Staltari (http://www.geocities.com/SiliconValley/Vista/8155/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2005/07/05 * Date Started: 2005/07/05
* *
* DOS language file for GeSHi. * DOS language file for GeSHi.
@@ -171,7 +171,7 @@ $language_data = array (
/* Variable assignement */ /* Variable assignement */
1 => array( 1 => array(
/* GESHI_SEARCH => '(SET[\s]+(?si:\/A[\s]+|\/P[\s]+|))([^=\s\n]+)([\s]*=)',*/ /* GESHI_SEARCH => '(SET[\s]+(?si:\/A[\s]+|\/P[\s]+|))([^=\s\n]+)([\s]*=)',*/
GESHI_SEARCH => '(SET[\s]+(?si:\/A[\s]+|\/P[\s]+|))([^=\n]+)([\s]*=)',
GESHI_SEARCH => '(SET\s+(?si:\\/A\s+|\\/P\s+)?)([^=\n]+)(\s*=)',
GESHI_REPLACE => '\\2', GESHI_REPLACE => '\\2',
GESHI_MODIFIERS => 'si', GESHI_MODIFIERS => 'si',
GESHI_BEFORE => '\\1', GESHI_BEFORE => '\\1',
@@ -180,7 +180,7 @@ $language_data = array (
/* Arguments or variable evaluation */ /* Arguments or variable evaluation */
2 => array( 2 => array(
/* GESHI_SEARCH => '(%)([\d*]|[^%\s]*(?=%))((?<!%\d)%|)',*/ /* GESHI_SEARCH => '(%)([\d*]|[^%\s]*(?=%))((?<!%\d)%|)',*/
GESHI_SEARCH => '(%(?:%(?=[a-z0-9]))?)([\d*]|(?:~[adfnpstxz]*(?:$\w+:)?)?[a-z0-9](?!\w)|[^%\n]*(?=%))((?<!%\d)%|)',
GESHI_SEARCH => '(!(?:!(?=[a-z0-9]))?)([\d*]|(?:~[adfnpstxz]*(?:$\w+:)?)?[a-z0-9](?!\w)|[^!>\n]*(?=!))((?<!%\d)%|)(?!!>)',
GESHI_REPLACE => '\\2', GESHI_REPLACE => '\\2',
GESHI_MODIFIERS => 'si', GESHI_MODIFIERS => 'si',
GESHI_BEFORE => '\\1', GESHI_BEFORE => '\\1',
@@ -189,7 +189,7 @@ $language_data = array (
/* Arguments or variable evaluation */ /* Arguments or variable evaluation */
3 => array( 3 => array(
/* GESHI_SEARCH => '(%)([\d*]|[^%\s]*(?=%))((?<!%\d)%|)',*/ /* GESHI_SEARCH => '(%)([\d*]|[^%\s]*(?=%))((?<!%\d)%|)',*/
GESHI_SEARCH => '(!(?:!(?=[a-z0-9]))?)([\d*]|(?:~[adfnpstxz]*(?:$\w+:)?)?[a-z0-9](?!\w)|[^!>\n]*(?=!))((?<!%\d)%|)(?!!>)',
GESHI_SEARCH => '(%(?:%(?=[a-z0-9]))?)([\d*]|(?:~[adfnpstxz]*(?:$\w+:)?)?[a-z0-9](?!\w)|[^%\n]*(?=%))((?<!%\d)%|)',
GESHI_REPLACE => '\\2', GESHI_REPLACE => '\\2',
GESHI_MODIFIERS => 'si', GESHI_MODIFIERS => 'si',
GESHI_BEFORE => '\\1', GESHI_BEFORE => '\\1',


+ 1
- 1
paste/geshi/dot.php View File

@@ -4,7 +4,7 @@
* --------------------------------- * ---------------------------------
* Author: Adrien Friggeri (adrien@friggeri.net) * Author: Adrien Friggeri (adrien@friggeri.net)
* Copyright: (c) 2007 Adrien Friggeri (http://www.friggeri.net) * Copyright: (c) 2007 Adrien Friggeri (http://www.friggeri.net)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2007/05/30 * Date Started: 2007/05/30
* *
* dot language file for GeSHi. * dot language file for GeSHi.


+ 1
- 1
paste/geshi/e.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Kevin Reid (kpreid@switchb.org) * Author: Kevin Reid (kpreid@switchb.org)
* Copyright: (c) 2010 Kevin Reid (http://switchb.org/kpreid/) * Copyright: (c) 2010 Kevin Reid (http://switchb.org/kpreid/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/04/16 * Date Started: 2010/04/16
* *
* E language file for GeSHi. * E language file for GeSHi.


+ 1
- 1
paste/geshi/ecmascript.php View File

@@ -4,7 +4,7 @@
* -------------- * --------------
* Author: Michel Mariani (http://www.tonton-pixel.com/site/) * Author: Michel Mariani (http://www.tonton-pixel.com/site/)
* Copyright: (c) 2010 Michel Mariani (http://www.tonton-pixel.com/site/) * Copyright: (c) 2010 Michel Mariani (http://www.tonton-pixel.com/site/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/01/08 * Date Started: 2010/01/08
* *
* ECMAScript language file for GeSHi. * ECMAScript language file for GeSHi.


+ 1
- 1
paste/geshi/eiffel.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Zoran Simic (zsimic@axarosenberg.com) * Author: Zoran Simic (zsimic@axarosenberg.com)
* Copyright: (c) 2005 Zoran Simic * Copyright: (c) 2005 Zoran Simic
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2005/06/30 * Date Started: 2005/06/30
* *
* Eiffel language file for GeSHi. * Eiffel language file for GeSHi.


+ 14
- 2
paste/geshi/email.php View File

@@ -4,7 +4,7 @@
* --------------- * ---------------
* Author: Benny Baumann (BenBE@geshi.org) * Author: Benny Baumann (BenBE@geshi.org)
* Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/) * Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2008/10/19 * Date Started: 2008/10/19
* *
* Email (mbox \ eml \ RFC format) language file for GeSHi. * Email (mbox \ eml \ RFC format) language file for GeSHi.
@@ -152,7 +152,19 @@ $language_data = array (
4 => array( 4 => array(
GESHI_SEARCH => "(?<=\s)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=\s)|". GESHI_SEARCH => "(?<=\s)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=\s)|".
"(?<=\[)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=\])|". "(?<=\[)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=\])|".
"(?<==)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=<)",
"(?<==)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=<)|".

"(?<=\s)(?:[a-f\d]{1,4}\:)+(?:[a-f\d]{0,4})?(?:\:[a-f\d]{1,4})+(?=\s)|".
"(?<=\[)(?:[a-f\d]{1,4}\:)+(?:[a-f\d]{0,4})?(?:\:[a-f\d]{1,4})+(?=\])|".
"(?<==)(?:[a-f\d]{1,4}\:)+(?:[a-f\d]{0,4})?(?:\:[a-f\d]{1,4})+(?=<)|".

"(?<=\s)\:(?:\:[a-f\d]{1,4})+(?=\s)|".
"(?<=\[)\:(?:\:[a-f\d]{1,4})+(?=\])|".
"(?<==)\:(?:\:[a-f\d]{1,4})+(?=<)|".

"(?<=\s)(?:[a-f\d]{1,4}\:)+\:(?=\s)|".
"(?<=\[)(?:[a-f\d]{1,4}\:)+\:(?=\])|".
"(?<==)(?:[a-f\d]{1,4}\:)+\:(?=<)",
GESHI_REPLACE => "\\0", GESHI_REPLACE => "\\0",
GESHI_MODIFIERS => "i", GESHI_MODIFIERS => "i",
GESHI_BEFORE => "", GESHI_BEFORE => "",


+ 1
- 1
paste/geshi/epc.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Thorsten Muehlfelder (muehlfelder@enertex.de) * Author: Thorsten Muehlfelder (muehlfelder@enertex.de)
* Copyright: (c) 2010 Enertex Bayern GmbH * Copyright: (c) 2010 Enertex Bayern GmbH
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/08/26 * Date Started: 2010/08/26
* *
* Enerscript language file for GeSHi. * Enerscript language file for GeSHi.


+ 1
- 1
paste/geshi/erlang.php View File

@@ -7,7 +7,7 @@
* - Uwe Dauernheim (uwe@dauernheim.net) * - Uwe Dauernheim (uwe@dauernheim.net)
* - Dan Forest-Barbier (dan@twisted.in) * - Dan Forest-Barbier (dan@twisted.in)
* Copyright: (c) 2008 Uwe Dauernheim (http://www.kreisquadratur.de/) * Copyright: (c) 2008 Uwe Dauernheim (http://www.kreisquadratur.de/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2008-09-27 * Date Started: 2008-09-27
* *
* Erlang language file for GeSHi. * Erlang language file for GeSHi.


+ 1
- 1
paste/geshi/euphoria.php View File

@@ -4,7 +4,7 @@
* --------------------------------- * ---------------------------------
* Author: Nicholas Koceja (nerketur@hotmail.com) * Author: Nicholas Koceja (nerketur@hotmail.com)
* Copyright: (c) 2010 Nicholas Koceja * Copyright: (c) 2010 Nicholas Koceja
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 11/24/2010 * Date Started: 11/24/2010
* *
* Euphoria language file for GeSHi. * Euphoria language file for GeSHi.


+ 1
- 1
paste/geshi/f1.php View File

@@ -4,7 +4,7 @@
* ------- * -------
* Author: Juro Bystricky (juro@f1compiler.com) * Author: Juro Bystricky (juro@f1compiler.com)
* Copyright: K2 Software Corp. * Copyright: K2 Software Corp.
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/07/06 * Date Started: 2010/07/06
* *
* Formula One language file for GeSHi. * Formula One language file for GeSHi.


+ 1
- 1
paste/geshi/falcon.php View File

@@ -4,7 +4,7 @@
* --------------------------------- * ---------------------------------
* Author: billykater (billykater+geshi@gmail.com) * Author: billykater (billykater+geshi@gmail.com)
* Copyright: (c) 2010 billykater (http://falconpl.org/) * Copyright: (c) 2010 billykater (http://falconpl.org/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/06/07 * Date Started: 2010/06/07
* *
* Falcon language file for GeSHi. * Falcon language file for GeSHi.


+ 1
- 1
paste/geshi/fo.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Tan-Vinh Nguyen (tvnguyen@web.de) * Author: Tan-Vinh Nguyen (tvnguyen@web.de)
* Copyright: (c) 2009 Tan-Vinh Nguyen * Copyright: (c) 2009 Tan-Vinh Nguyen
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/03/23 * Date Started: 2009/03/23
* *
* fo language file for GeSHi. * fo language file for GeSHi.


+ 1
- 1
paste/geshi/fortran.php View File

@@ -4,7 +4,7 @@
* ----------- * -----------
* Author: Cedric Arrabie (cedric.arrabie@univ-pau.fr) * Author: Cedric Arrabie (cedric.arrabie@univ-pau.fr)
* Copyright: (C) 2006 Cetric Arrabie * Copyright: (C) 2006 Cetric Arrabie
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2006/04/22 * Date Started: 2006/04/22
* *
* Fortran language file for GeSHi. * Fortran language file for GeSHi.


+ 1
- 1
paste/geshi/freebasic.php View File

@@ -4,7 +4,7 @@
* ------------- * -------------
* Author: Roberto Rossi * Author: Roberto Rossi
* Copyright: (c) 2005 Roberto Rossi (http://rsoftware.altervista.org) * Copyright: (c) 2005 Roberto Rossi (http://rsoftware.altervista.org)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2005/08/19 * Date Started: 2005/08/19
* *
* FreeBasic (http://www.freebasic.net/) language file for GeSHi. * FreeBasic (http://www.freebasic.net/) language file for GeSHi.


+ 168
- 0
paste/geshi/freeswitch.php View File

@@ -0,0 +1,168 @@
<?php
/*************************************************************************************
* freeswitch.php
* --------
* Author: James Rose (james.gs@stubbornroses.com)
* Copyright: (c) 2006 Christian Lescuyer http://xtian.goelette.info
* Release Version: 1.0.8.11n/a
* Date Started: 2011/11/18
*
* FreeSWITCH language file for GeSHi.
*
* This file is based on robots.php
*
* 2011/11/18 (1.0.0)
* - First Release
*
*************************************************************************************
*
* This file is part of GeSHi.
*
* GeSHi is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GeSHi is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GeSHi; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
************************************************************************************/

$language_data = array (
'LANG_NAME' => 'FreeSWITCH',
'COMMENT_SINGLE' => array(1 => '#'),
'COMMENT_MULTI' => array(),
'COMMENT_REGEXP' => array(1 => "/^Comment:.*?$/m"),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array(),
'ESCAPE_CHAR' => '',
'KEYWORDS' => array(
// 1 => array(
// 'Disallow', 'Request-rate', 'Robot-version',
// 'Sitemap', 'User-agent', 'Visit-time'
// )
),
'SYMBOLS' => array(
// ':'
),
'CASE_SENSITIVE' => array(
GESHI_COMMENTS => false
),

//order is important. regexes will overwrite most things....
'STYLES' => array(
'KEYWORDS' => array(
// 1 => 'color: #FF0000; font-weight: bold;',//red
),
'COMMENTS' => array(
1 => 'color: #808080; font-style: italic;',
),
'ESCAPE_CHAR' => array(
0 => 'color: #000099; font-weight: bold;'
),
'BRACKETS' => array(
// 0 => 'color: #66cc66;'
),
'STRINGS' => array(
// 0 => 'color: #ff0000;'
),
'NUMBERS' => array(
// 0 => 'color: #cc66cc;'
),
'METHODS' => array(
),
'SYMBOLS' => array(
// 0 => 'color: #66cc66;'
),
'REGEXPS' => array(
0 => 'color: firebrick; font-weight: bold;',
1 => 'color: cornflowerblue; font-weight: bold;',
2 => 'color: goldenrod; font-weight: bold;',
3 => 'color: green; font-weight: bold;',
4 => 'color: dimgrey; font-style: italic;',
5 => 'color: green; font-weight: bold;',
6 => 'color: firebrick; font-weight: bold;',
7 => 'color: indigo; font-weight: italic;'
),
'SCRIPT' => array(
)
),
'URLS' => array(
// 1 => 'http://www.robotstxt.org/wc/norobots.html'
),
'OOLANG' => false,
'OBJECT_SPLITTERS' => array(
),
'REGEXPS' => array(
0 => array(
GESHI_SEARCH => '(^.*ERROR.*)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'im',
GESHI_BEFORE => '',
GESHI_AFTER => ''
),
1 => array(
GESHI_SEARCH => '(^.*NOTICE.*)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'im',
GESHI_BEFORE => '',
GESHI_AFTER => ''
),
2 => array(
GESHI_SEARCH => '(^.*DEBUG.*)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'm',
GESHI_BEFORE => '',
GESHI_AFTER => ''
),
3 => array(
GESHI_SEARCH => '(^.*INFO.*|.*info\(.*|^Channel.*|^Caller.*|^variable.*)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'm',
GESHI_BEFORE => '',
GESHI_AFTER => ''
),
4 => array(
GESHI_SEARCH => '(^Dialplan.*)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'im',
GESHI_BEFORE => '',
GESHI_AFTER => ''
),
5 => array(
GESHI_SEARCH => '(Regex\ \(PASS\))',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => '',
GESHI_BEFORE => '',
GESHI_AFTER => ''
),
6 => array(
GESHI_SEARCH => '(Regex\ \(FAIL\))',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => '',
GESHI_BEFORE => '',
GESHI_AFTER => ''
),
7 => array(
GESHI_SEARCH => '(\d{7,15})',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => '',
GESHI_BEFORE => '',
GESHI_AFTER => ''
)
),

'STRICT_MODE_APPLIES' => GESHI_NEVER,
'SCRIPT_DELIMITERS' => array(
),
'HIGHLIGHT_STRICT_BLOCK' => array(
)
);

?>

+ 2
- 2
paste/geshi/fsharp.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: julien ortin (jo_spam-divers@yahoo.fr) * Author: julien ortin (jo_spam-divers@yahoo.fr)
* Copyright: (c) 2009 julien ortin * Copyright: (c) 2009 julien ortin
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/09/20 * Date Started: 2009/09/20
* *
* F# language file for GeSHi. * F# language file for GeSHi.
@@ -44,7 +44,7 @@ $language_data = array(
'LANG_NAME' => 'F#', 'LANG_NAME' => 'F#',
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'), 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
'COMMENT_MULTI' => array('/*' => '*/'), 'COMMENT_MULTI' => array('/*' => '*/'),
'COMMENT_REGEXP' => array(3 => '/\(\*(?!\)).*?\*\)/'),
'COMMENT_REGEXP' => array(3 => '/\(\*(?!\)).*?\*\)/s'),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array("'", '"'), 'QUOTEMARKS' => array("'", '"'),
'HARDQUOTE' => array('@"', '"'), 'HARDQUOTE' => array('@"', '"'),


+ 1
- 1
paste/geshi/gambas.php View File

@@ -5,7 +5,7 @@
* Author: Jesus Guardon (jguardon@telefonica.net) * Author: Jesus Guardon (jguardon@telefonica.net)
* Copyright: (c) 2009 Jesus Guardon (http://gambas-es.org), * Copyright: (c) 2009 Jesus Guardon (http://gambas-es.org),
* Benny Baumann (http://qbnz.com/highlighter) * Benny Baumann (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/08/20 * Date Started: 2004/08/20
* *
* GAMBAS language file for GeSHi. * GAMBAS language file for GeSHi.


+ 1
- 1
paste/geshi/gdb.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Milian Wolff (mail@milianw.de) * Author: Milian Wolff (mail@milianw.de)
* Copyright: (c) 2009 Milian Wolff * Copyright: (c) 2009 Milian Wolff
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/06/24 * Date Started: 2009/06/24
* *
* GDB language file for GeSHi. * GDB language file for GeSHi.


+ 1
- 1
paste/geshi/genero.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Lars Gersmann (lars.gersmann@gmail.com) * Author: Lars Gersmann (lars.gersmann@gmail.com)
* Copyright: (c) 2007 Lars Gersmann, Nigel McNie (http://qbnz.com/highlighter/) * Copyright: (c) 2007 Lars Gersmann, Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2007/07/01 * Date Started: 2007/07/01
* *
* Genero (FOURJ's Genero 4GL) language file for GeSHi. * Genero (FOURJ's Genero 4GL) language file for GeSHi.


+ 1
- 1
paste/geshi/genie.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Nicolas Joseph (nicolas.joseph@valaide.org) * Author: Nicolas Joseph (nicolas.joseph@valaide.org)
* Copyright: (c) 2009 Nicolas Joseph * Copyright: (c) 2009 Nicolas Joseph
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/04/29 * Date Started: 2009/04/29
* *
* Genie language file for GeSHi. * Genie language file for GeSHi.


+ 1
- 1
paste/geshi/gettext.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Milian Wolff (mail@milianw.de) * Author: Milian Wolff (mail@milianw.de)
* Copyright: (c) 2008 Milian Wolff * Copyright: (c) 2008 Milian Wolff
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2008/05/25 * Date Started: 2008/05/25
* *
* GNU Gettext .po/.pot language file for GeSHi. * GNU Gettext .po/.pot language file for GeSHi.


+ 1
- 1
paste/geshi/glsl.php View File

@@ -4,7 +4,7 @@
* ----- * -----
* Author: Benny Baumann (BenBE@omorphia.de) * Author: Benny Baumann (BenBE@omorphia.de)
* Copyright: (c) 2008 Benny Baumann (BenBE@omorphia.de) * Copyright: (c) 2008 Benny Baumann (BenBE@omorphia.de)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2008/03/20 * Date Started: 2008/03/20
* *
* glSlang language file for GeSHi. * glSlang language file for GeSHi.


+ 1
- 1
paste/geshi/gml.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Jos� Jorge Enr�quez (jenriquez@users.sourceforge.net) * Author: Jos� Jorge Enr�quez (jenriquez@users.sourceforge.net)
* Copyright: (c) 2005 Jos� Jorge Enr�quez Rodr�guez (http://www.zonamakers.com) * Copyright: (c) 2005 Jos� Jorge Enr�quez Rodr�guez (http://www.zonamakers.com)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2005/06/21 * Date Started: 2005/06/21
* *
* GML language file for GeSHi. * GML language file for GeSHi.


+ 1
- 1
paste/geshi/gnuplot.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Milian Wolff (mail@milianw.de) * Author: Milian Wolff (mail@milianw.de)
* Copyright: (c) 2008 Milian Wolff (http://milianw.de) * Copyright: (c) 2008 Milian Wolff (http://milianw.de)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2008/07/07 * Date Started: 2008/07/07
* *
* Gnuplot script language file for GeSHi. * Gnuplot script language file for GeSHi.


+ 1
- 1
paste/geshi/go.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Markus Jarderot (mizardx at gmail dot com) * Author: Markus Jarderot (mizardx at gmail dot com)
* Copyright: (c) 2010 Markus Jarderot * Copyright: (c) 2010 Markus Jarderot
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/05/20 * Date Started: 2010/05/20
* *
* Go language file for GeSHi. * Go language file for GeSHi.


+ 1
- 1
paste/geshi/groovy.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Ivan F. Villanueva B. (geshi_groovy@artificialidea.com) * Author: Ivan F. Villanueva B. (geshi_groovy@artificialidea.com)
* Copyright: (c) 2006 Ivan F. Villanueva B.(http://www.artificialidea.com) * Copyright: (c) 2006 Ivan F. Villanueva B.(http://www.artificialidea.com)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2006/04/29 * Date Started: 2006/04/29
* *
* Groovy language file for GeSHi. * Groovy language file for GeSHi.


+ 1
- 1
paste/geshi/gwbasic.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: José Gabriel Moya Yangüela (josemoya@gmail.com) * Author: José Gabriel Moya Yangüela (josemoya@gmail.com)
* Copyright: (c) 2010 José Gabriel Moya Yangüela (http://doc.apagada.com) * Copyright: (c) 2010 José Gabriel Moya Yangüela (http://doc.apagada.com)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/01/30 * Date Started: 2010/01/30
* *
* GwBasic language file for GeSHi. * GwBasic language file for GeSHi.


+ 4
- 4
paste/geshi/haskell.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Jason Dagit (dagit@codersbase.com) based on ocaml.php by Flaie (fireflaie@gmail.com) * Author: Jason Dagit (dagit@codersbase.com) based on ocaml.php by Flaie (fireflaie@gmail.com)
* Copyright: (c) 2005 Flaie, Nigel McNie (http://qbnz.com/highlighter) * Copyright: (c) 2005 Flaie, Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2005/08/27 * Date Started: 2005/08/27
* *
* Haskell language file for GeSHi. * Haskell language file for GeSHi.
@@ -46,8 +46,8 @@ $language_data = array (
3 => "/{-(?:(?R)|.)-}/s", //Nested Comments 3 => "/{-(?:(?R)|.)-}/s", //Nested Comments
), ),
'CASE_KEYWORDS' => 0, 'CASE_KEYWORDS' => 0,
'QUOTEMARKS' => array('"'),
'ESCAPE_CHAR' => "\\",
'QUOTEMARKS' => array('"',"'"),
'ESCAPE_CHAR' => '\\',
'KEYWORDS' => array( 'KEYWORDS' => array(
/* main haskell keywords */ /* main haskell keywords */
1 => array( 1 => array(
@@ -95,7 +95,7 @@ $language_data = array (
'product', 'concat', 'concatMap', 'maximum', 'product', 'concat', 'concatMap', 'maximum',
'minimum', 'scanl', 'scanl1', 'scanr', 'scanr1', 'minimum', 'scanl', 'scanl1', 'scanr', 'scanr1',
'iterate', 'repeat', 'cycle', 'take', 'drop', 'iterate', 'repeat', 'cycle', 'take', 'drop',
'splitAt', 'teakWhile', 'dropWhile', 'span',
'splitAt', 'takeWhile', 'dropWhile', 'span',
'break', 'elem', 'notElem', 'lookup', 'zip', 'break', 'elem', 'notElem', 'lookup', 'zip',
'zip3', 'zipWith', 'zipWith3', 'unzip', 'unzip3', 'zip3', 'zipWith', 'zipWith3', 'unzip', 'unzip3',
'lines', 'words', 'unlines', 'lines', 'words', 'unlines',


+ 161
- 0
paste/geshi/haxe.php View File

@@ -0,0 +1,161 @@
<?php
/*************************************************************************************
* haxe.php
* --------
* Author: Andy Li (andy@onthewings.net)
* John Liao (colorhook@gmail.com)
* Copyright: (c) 2012 onthewings (http://www.onthewings.net/)
* 2010 colorhook (http://colorhook.com/)
* Release Version: 1.0.8.11
* Date Started: 2010/10/05
*
* Haxe language file for GeSHi.
* Haxe version: 2.10
*************************************************************************************
*
* This file is part of GeSHi.
*
* GeSHi is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GeSHi is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GeSHi; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
************************************************************************************/

$language_data = array (
'LANG_NAME' => 'Haxe',
'COMMENT_SINGLE' => array(1 => '//'),
'COMMENT_MULTI' => array('/*' => '*/'),
'COMMENT_REGEXP' => array(
//Import and Package directives (Basic Support only)
2 => '/(?:(?<=import[\\n\\s])|(?<=using[\\n\\s])|(?<=package[\\n\\s]))[\\n\\s]*([a-zA-Z0-9_]+\\.)*([a-zA-Z0-9_]+|\*)(?=[\n\s;])/i',
// Haxe comments
3 => '#/\*\*(?![\*\/]).*\*/#sU',
),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array("'", '"'),
'ESCAPE_CHAR' => '\\',
'KEYWORDS' => array(
1 => array(
//http://haxe.org/ref/keywords
'break', 'callback', 'case', 'cast', 'catch', 'class', 'continue', 'default', 'do', 'dynamic',
'else', 'enum', 'extends', 'extern', /*'false',*/ 'for', 'function', 'here', 'if',
'implements', 'import', 'in', 'inline', 'interface', 'never', 'new', /*'null',*/ 'override',
'package', 'private', 'public', 'return', 'static', 'super', 'switch', 'this', 'throw',
'trace', /*'true',*/ 'try', 'typedef', 'untyped', 'using', 'var', 'while',
'macro', '$type',
),
2 => array(
//primitive values
'null', 'false', 'true',
),
3 => array(
//global types
'Array', 'ArrayAccess', /*'Bool',*/ 'Class', 'Date', 'DateTools', 'Dynamic',
'EReg', 'Enum', 'EnumValue', /*'Float',*/ 'Hash', /*'Int',*/ 'IntHash', 'IntIter',
'Iterable', 'Iterator', 'Lambda', 'List', 'Math', 'Null', 'Reflect', 'Std',
/*'String',*/ 'StringBuf', 'StringTools', 'Sys', 'Type', /*'UInt',*/ 'ValueType',
/*'Void',*/ 'Xml', 'XmlType',
),
4 => array(
//primitive types
'Void', 'Bool', 'Int', 'Float', 'UInt', 'String',
),
5 => array(
//compiler switches
"#if", "#elseif", "#else", "#end", "#error",
),
),
'SYMBOLS' => array(
//http://haxe.org/manual/operators
'++', '--',
'%',
'*', '/',
'+', '-',
'<<', '>>', '>>>',
'|', '&', '^',
'==', '!=', '>', '>=', '<', '<=',
'...',
'&&',
'||',
'?', ':',
'=', '+=', '-=', '/=', '*=', '<<=', '>>=', '>>>=', '|=', '&=', '^=',
'(', ')', '[', ']', '{', '}', ';',
),
'CASE_SENSITIVE' => array(
GESHI_COMMENTS => false,
1 => true,
2 => true,
3 => true,
4 => true,
5 => true,
),
'STYLES' => array(
'KEYWORDS' => array(
1 => 'color: #6699cc; font-weight: bold;',
2 => 'color: #000066; font-weight: bold;',
3 => 'color: #03F; ',
4 => 'color: #000033; font-weight: bold;',
5 => 'color: #330000; font-weight: bold;',
),
'COMMENTS' => array(
1 => 'color: #666666; font-style: italic;',
2 => 'color: #006699;',
3 => 'color: #008000; font-style: italic; font-weight: bold;',
3 => 'color: #008000; font-style: italic; font-weight: bold;',
'MULTI' => 'color: #666666; font-style: italic;',
),
'ESCAPE_CHAR' => array(
0 => 'color: #000099; font-weight: bold;',
),
'BRACKETS' => array(
0 => 'color: #000000;',
),
'STRINGS' => array(
0 => 'color: #FF0000;',
),
'NUMBERS' => array(
0 => 'color: #cc66cc;',
),
'METHODS' => array(
1 => 'color: #006633;',
2 => 'color: #006633;',
),
'SYMBOLS' => array(
0 => 'color: #339933;',
),
'SCRIPT' => array(
),
'REGEXPS' => array(
)
),
'URLS' => array(
1 => '',
2 => '',
3 => '',
4 => '',
5 => '',
),
'OOLANG' => true,
'OBJECT_SPLITTERS' => array(
1 => '.',
),
'REGEXPS' => array(
),
'STRICT_MODE_APPLIES' => GESHI_NEVER,
'SCRIPT_DELIMITERS' => array(
),
'HIGHLIGHT_STRICT_BLOCK' => array(
),
);

?>

+ 1
- 1
paste/geshi/hicest.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Georg Petrich (spt@hicest.com) * Author: Georg Petrich (spt@hicest.com)
* Copyright: (c) 2010 Georg Petrich (http://www.HicEst.com) * Copyright: (c) 2010 Georg Petrich (http://www.HicEst.com)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/03/15 * Date Started: 2010/03/15
* *
* HicEst language file for GeSHi. * HicEst language file for GeSHi.


+ 1
- 1
paste/geshi/hq9plus.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Benny Baumann (BenBE@geshi.org) * Author: Benny Baumann (BenBE@geshi.org)
* Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/) * Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/10/31 * Date Started: 2009/10/31
* *
* HQ9+ language file for GeSHi. * HQ9+ language file for GeSHi.


+ 2
- 2
paste/geshi/html4strict.php View File

@@ -4,7 +4,7 @@
* --------------- * ---------------
* Author: Nigel McNie (nigel@geshi.org) * Author: Nigel McNie (nigel@geshi.org)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/07/10 * Date Started: 2004/07/10
* *
* HTML 4.01 strict language file for GeSHi. * HTML 4.01 strict language file for GeSHi.
@@ -58,7 +58,7 @@ $language_data = array (
'ESCAPE_CHAR' => '', 'ESCAPE_CHAR' => '',
'KEYWORDS' => array( 'KEYWORDS' => array(
2 => array( 2 => array(
'a', 'abbr', 'acronym', 'address', 'applet',
'a', 'abbr', 'acronym', 'address', 'applet', 'area',
'base', 'basefont', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'b', 'base', 'basefont', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'b',
'caption', 'center', 'cite', 'code', 'colgroup', 'col', 'caption', 'center', 'cite', 'code', 'colgroup', 'col',
'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt', 'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt',


+ 4
- 4
paste/geshi/html5.php View File

@@ -4,10 +4,10 @@
* --------------- * ---------------
* Author: Nigel McNie (nigel@geshi.org) * Author: Nigel McNie (nigel@geshi.org)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/07/10 * Date Started: 2004/07/10
* *
* HTML 4.01 strict language file for GeSHi.
* HTML 5 language file for GeSHi.
* *
* CHANGES * CHANGES
* ------- * -------
@@ -50,7 +50,7 @@
************************************************************************************/ ************************************************************************************/


$language_data = array ( $language_data = array (
'LANG_NAME' => 'HTML',
'LANG_NAME' => 'HTML5',
'COMMENT_SINGLE' => array(), 'COMMENT_SINGLE' => array(),
'COMMENT_MULTI' => array(), 'COMMENT_MULTI' => array(),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
@@ -58,7 +58,7 @@ $language_data = array (
'ESCAPE_CHAR' => '', 'ESCAPE_CHAR' => '',
'KEYWORDS' => array( 'KEYWORDS' => array(
2 => array( 2 => array(
'a', 'abbr', 'address', 'article', 'aside', 'audio'.
'a', 'abbr', 'address', 'article', 'area', 'aside', 'audio',


'base', 'bdo', 'blockquote', 'body', 'br', 'button', 'b', 'base', 'bdo', 'blockquote', 'body', 'br', 'button', 'b',




+ 1
- 1
paste/geshi/icon.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Matt Oates (mattoates@gmail.com) * Author: Matt Oates (mattoates@gmail.com)
* Copyright: (c) 2010 Matt Oates (http://mattoates.co.uk) * Copyright: (c) 2010 Matt Oates (http://mattoates.co.uk)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2010/04/24 * Date Started: 2010/04/24
* *
* Icon language file for GeSHi. * Icon language file for GeSHi.


+ 1
- 1
paste/geshi/idl.php View File

@@ -4,7 +4,7 @@
* ------- * -------
* Author: Cedric Bosdonnat (cedricbosdo@openoffice.org) * Author: Cedric Bosdonnat (cedricbosdo@openoffice.org)
* Copyright: (c) 2006 Cedric Bosdonnat * Copyright: (c) 2006 Cedric Bosdonnat
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2006/08/20 * Date Started: 2006/08/20
* *
* Unoidl language file for GeSHi. * Unoidl language file for GeSHi.


+ 1
- 1
paste/geshi/ini.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: deguix (cevo_deguix@yahoo.com.br) * Author: deguix (cevo_deguix@yahoo.com.br)
* Copyright: (c) 2005 deguix * Copyright: (c) 2005 deguix
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2005/03/27 * Date Started: 2005/03/27
* *
* INI language file for GeSHi. * INI language file for GeSHi.


+ 1
- 1
paste/geshi/inno.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Thomas Klingler (hotline@theratech.de) based on delphi.php from J�rja Norbert (jnorbi@vipmail.hu) * Author: Thomas Klingler (hotline@theratech.de) based on delphi.php from J�rja Norbert (jnorbi@vipmail.hu)
* Copyright: (c) 2004 J�rja Norbert, Nigel McNie (http://qbnz.com/highlighter) * Copyright: (c) 2004 J�rja Norbert, Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2005/07/29 * Date Started: 2005/07/29
* *
* Inno Script language inkl. Delphi (Object Pascal) language file for GeSHi. * Inno Script language inkl. Delphi (Object Pascal) language file for GeSHi.


+ 1
- 1
paste/geshi/intercal.php View File

@@ -4,7 +4,7 @@
* ---------- * ----------
* Author: Benny Baumann (BenBE@geshi.org) * Author: Benny Baumann (BenBE@geshi.org)
* Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/) * Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/10/31 * Date Started: 2009/10/31
* *
* INTERCAL language file for GeSHi. * INTERCAL language file for GeSHi.


+ 1
- 1
paste/geshi/io.php View File

@@ -4,7 +4,7 @@
* ------- * -------
* Author: Nigel McNie (nigel@geshi.org) * Author: Nigel McNie (nigel@geshi.org)
* Copyright: (c) 2006 Nigel McNie (http://qbnz.com/highlighter/) * Copyright: (c) 2006 Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2006/09/23 * Date Started: 2006/09/23
* *
* Io language file for GeSHi. Thanks to Johnathan Wright for the suggestion and help * Io language file for GeSHi. Thanks to Johnathan Wright for the suggestion and help


+ 1
- 1
paste/geshi/j.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Ric Sherlock (tikkanz@gmail.com) * Author: Ric Sherlock (tikkanz@gmail.com)
* Copyright: (c) 2009 Ric Sherlock * Copyright: (c) 2009 Ric Sherlock
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/11/10 * Date Started: 2009/11/10
* *
* J language file for GeSHi. * J language file for GeSHi.


+ 2
- 2
paste/geshi/java.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Nigel McNie (nigel@geshi.org) * Author: Nigel McNie (nigel@geshi.org)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/07/10 * Date Started: 2004/07/10
* *
* Java language file for GeSHi. * Java language file for GeSHi.
@@ -964,7 +964,7 @@ $language_data = array (
'URLS' => array( 'URLS' => array(
1 => '', 1 => '',
2 => '', 2 => '',
3 => 'http://www.google.com/search?hl=en&amp;q=allinurl%3A{FNAMEL}+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky',
3 => 'http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+{FNAMEL}',
4 => '' 4 => ''
), ),
'OOLANG' => true, 'OOLANG' => true,


+ 164
- 164
paste/geshi/java5.php View File

@@ -4,7 +4,7 @@
* -------- * --------
* Author: Nigel McNie (nigel@geshi.org) * Author: Nigel McNie (nigel@geshi.org)
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/07/10 * Date Started: 2004/07/10
* *
* Java language file for GeSHi. * Java language file for GeSHi.
@@ -850,169 +850,169 @@ $language_data = array (
2 => '', 2 => '',
3 => '', 3 => '',
4 => '', 4 => '',
5 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/applet/{FNAME}.html',
6 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/awt/{FNAME}.html',
7 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/awt/color/{FNAME}.html',
8 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/awt/datatransfer/{FNAME}.html',
9 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/awt/dnd/{FNAME}.html',
10 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/awt/event/{FNAME}.html',
11 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/awt/font/{FNAME}.html',
12 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/awt/geom/{FNAME}.html',
13 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/awt/im/{FNAME}.html',
14 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/awt/im/spi/{FNAME}.html',
15 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/awt/image/{FNAME}.html',
16 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/awt/image/renderable/{FNAME}.html',
17 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/awt/print/{FNAME}.html',
18 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/beans/{FNAME}.html',
19 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/beans/beancontext/{FNAME}.html',
20 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/io/{FNAME}.html',
21 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/lang/{FNAME}.html',
22 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/lang/annotation/{FNAME}.html',
23 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/lang/instrument/{FNAME}.html',
24 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/lang/management/{FNAME}.html',
25 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/lang/ref/{FNAME}.html',
26 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/lang/reflect/{FNAME}.html',
27 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/math/{FNAME}.html',
28 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/net/{FNAME}.html',
29 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/nio/{FNAME}.html',
30 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/nio/channels/{FNAME}.html',
31 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/nio/channels/spi/{FNAME}.html',
32 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/nio/charset/{FNAME}.html',
33 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/nio/charset/spi/{FNAME}.html',
34 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/rmi/{FNAME}.html',
35 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/rmi/activation/{FNAME}.html',
36 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/rmi/dgc/{FNAME}.html',
37 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/rmi/registry/{FNAME}.html',
38 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/rmi/server/{FNAME}.html',
39 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/security/{FNAME}.html',
40 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/security/acl/{FNAME}.html',
41 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/security/cert/{FNAME}.html',
42 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/security/interfaces/{FNAME}.html',
43 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/security/spec/{FNAME}.html',
44 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/sql/{FNAME}.html',
45 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/text/{FNAME}.html',
46 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/util/{FNAME}.html',
47 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/util/concurrent/{FNAME}.html',
48 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/util/concurrent/atomic/{FNAME}.html',
49 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/util/concurrent/locks/{FNAME}.html',
50 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/util/jar/{FNAME}.html',
51 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/util/logging/{FNAME}.html',
52 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/util/prefs/{FNAME}.html',
53 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/util/regex/{FNAME}.html',
54 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/java/util/zip/{FNAME}.html',
55 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/accessibility/{FNAME}.html',
56 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/activity/{FNAME}.html',
57 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/crypto/{FNAME}.html',
58 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/crypto/interfaces/{FNAME}.html',
59 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/crypto/spec/{FNAME}.html',
60 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/imageio/{FNAME}.html',
61 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/imageio/event/{FNAME}.html',
62 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/imageio/metadata/{FNAME}.html',
63 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/imageio/plugins/bmp/{FNAME}.html',
64 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/imageio/plugins/jpeg/{FNAME}.html',
65 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/imageio/spi/{FNAME}.html',
66 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/imageio/stream/{FNAME}.html',
67 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/management/{FNAME}.html',
68 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/management/loading/{FNAME}.html',
69 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/management/modelmbean/{FNAME}.html',
70 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/management/monitor/{FNAME}.html',
71 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/management/openmbean/{FNAME}.html',
72 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/management/relation/{FNAME}.html',
73 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/management/remote/{FNAME}.html',
74 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/management/remote/rmi/{FNAME}.html',
75 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/management/timer/{FNAME}.html',
76 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/naming/{FNAME}.html',
77 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/naming/directory/{FNAME}.html',
78 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/naming/event/{FNAME}.html',
79 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/naming/ldap/{FNAME}.html',
80 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/naming/spi/{FNAME}.html',
81 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/net/{FNAME}.html',
82 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/net/ssl/{FNAME}.html',
83 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/print/{FNAME}.html',
84 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/print/attribute/{FNAME}.html',
85 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/print/attribute/standard/{FNAME}.html',
86 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/print/event/{FNAME}.html',
87 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/rmi/{FNAME}.html',
88 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/rmi/CORBA/{FNAME}.html',
89 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/rmi/ssl/{FNAME}.html',
90 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/security/auth/{FNAME}.html',
91 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/security/auth/callback/{FNAME}.html',
92 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/security/auth/kerberos/{FNAME}.html',
93 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/security/auth/login/{FNAME}.html',
94 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/security/auth/spi/{FNAME}.html',
95 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/security/auth/x500/{FNAME}.html',
96 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/security/sasl/{FNAME}.html',
97 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/sound/midi/{FNAME}.html',
98 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/sound/midi/spi/{FNAME}.html',
99 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/sound/sampled/{FNAME}.html',
100 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/sound/sampled/spi/{FNAME}.html',
101 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/sql/{FNAME}.html',
102 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/sql/rowset/{FNAME}.html',
103 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/sql/rowset/serial/{FNAME}.html',
104 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/sql/rowset/spi/{FNAME}.html',
105 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/{FNAME}.html',
106 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/border/{FNAME}.html',
107 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/colorchooser/{FNAME}.html',
108 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/event/{FNAME}.html',
109 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/filechooser/{FNAME}.html',
110 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/plaf/{FNAME}.html',
111 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/plaf/basic/{FNAME}.html',
112 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/plaf/metal/{FNAME}.html',
113 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/plaf/multi/{FNAME}.html',
114 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/plaf/synth/{FNAME}.html',
115 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/table/{FNAME}.html',
116 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/text/{FNAME}.html',
117 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/text/html/{FNAME}.html',
118 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/text/html/parser/{FNAME}.html',
119 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/text/rtf/{FNAME}.html',
120 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/tree/{FNAME}.html',
121 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/swing/undo/{FNAME}.html',
122 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/transaction/{FNAME}.html',
123 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/transaction/xa/{FNAME}.html',
124 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/xml/{FNAME}.html',
125 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/xml/datatype/{FNAME}.html',
126 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/xml/namespace/{FNAME}.html',
127 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/xml/parsers/{FNAME}.html',
128 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/xml/transform/{FNAME}.html',
129 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/xml/transform/dom/{FNAME}.html',
130 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/xml/transform/sax/{FNAME}.html',
131 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/xml/transform/stream/{FNAME}.html',
132 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/xml/validation/{FNAME}.html',
133 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/javax/xml/xpath/{FNAME}.html',
134 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/ietf/jgss/{FNAME}.html',
135 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/CORBA/{FNAME}.html',
136 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/CORBA/DynAnyPackage/{FNAME}.html',
137 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/CORBA/TypeCodePackage/{FNAME}.html',
138 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/CORBA/portable/{FNAME}.html',
139 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/CosNaming/{FNAME}.html',
140 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/CosNaming/NamingContextExtPackage/{FNAME}.html',
141 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/CosNaming/NamingContextPackage/{FNAME}.html',
142 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/Dynamic/{FNAME}.html',
143 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/DynamicAny/{FNAME}.html',
144 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/DynamicAny/DynAnyFactoryPackage/{FNAME}.html',
145 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/DynamicAny/DynAnyPackage/{FNAME}.html',
146 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/IOP/{FNAME}.html',
147 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/IOP/CodecFactoryPackage/{FNAME}.html',
148 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/IOP/CodecPackage/{FNAME}.html',
149 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/Messaging/{FNAME}.html',
150 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/PortableInterceptor/{FNAME}.html',
151 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/PortableInterceptor/ORBInitInfoPackage/{FNAME}.html',
152 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/PortableServer/{FNAME}.html',
153 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/PortableServer/CurrentPackage/{FNAME}.html',
154 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/PortableServer/POAManagerPackage/{FNAME}.html',
155 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/PortableServer/POAPackage/{FNAME}.html',
156 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/PortableServer/ServantLocatorPackage/{FNAME}.html',
157 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/SendingContext/{FNAME}.html',
158 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/omg/stub/java/rmi/{FNAME}.html',
159 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/w3c/dom/{FNAME}.html',
160 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/w3c/dom/bootstrap/{FNAME}.html',
161 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/w3c/dom/events/{FNAME}.html',
162 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/w3c/dom/ls/{FNAME}.html',
163 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/xml/sax/{FNAME}.html',
164 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/xml/sax/ext/{FNAME}.html',
165 => 'http://java.sun.com/j2se/1%2E5%2E0/docs/api/org/xml/sax/helpers/{FNAME}.html',
5 => 'http://docs.oracle.com/javase/7/docs/api/java/applet/{FNAME}.html',
6 => 'http://docs.oracle.com/javase/7/docs/api/java/awt/{FNAME}.html',
7 => 'http://docs.oracle.com/javase/7/docs/api/java/awt/color/{FNAME}.html',
8 => 'http://docs.oracle.com/javase/7/docs/api/java/awt/datatransfer/{FNAME}.html',
9 => 'http://docs.oracle.com/javase/7/docs/api/java/awt/dnd/{FNAME}.html',
10 => 'http://docs.oracle.com/javase/7/docs/api/java/awt/event/{FNAME}.html',
11 => 'http://docs.oracle.com/javase/7/docs/api/java/awt/font/{FNAME}.html',
12 => 'http://docs.oracle.com/javase/7/docs/api/java/awt/geom/{FNAME}.html',
13 => 'http://docs.oracle.com/javase/7/docs/api/java/awt/im/{FNAME}.html',
14 => 'http://docs.oracle.com/javase/7/docs/api/java/awt/im/spi/{FNAME}.html',
15 => 'http://docs.oracle.com/javase/7/docs/api/java/awt/image/{FNAME}.html',
16 => 'http://docs.oracle.com/javase/7/docs/api/java/awt/image/renderable/{FNAME}.html',
17 => 'http://docs.oracle.com/javase/7/docs/api/java/awt/print/{FNAME}.html',
18 => 'http://docs.oracle.com/javase/7/docs/api/java/beans/{FNAME}.html',
19 => 'http://docs.oracle.com/javase/7/docs/api/java/beans/beancontext/{FNAME}.html',
20 => 'http://docs.oracle.com/javase/7/docs/api/java/io/{FNAME}.html',
21 => 'http://docs.oracle.com/javase/7/docs/api/java/lang/{FNAME}.html',
22 => 'http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/{FNAME}.html',
23 => 'http://docs.oracle.com/javase/7/docs/api/java/lang/instrument/{FNAME}.html',
24 => 'http://docs.oracle.com/javase/7/docs/api/java/lang/management/{FNAME}.html',
25 => 'http://docs.oracle.com/javase/7/docs/api/java/lang/ref/{FNAME}.html',
26 => 'http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/{FNAME}.html',
27 => 'http://docs.oracle.com/javase/7/docs/api/java/math/{FNAME}.html',
28 => 'http://docs.oracle.com/javase/7/docs/api/java/net/{FNAME}.html',
29 => 'http://docs.oracle.com/javase/7/docs/api/java/nio/{FNAME}.html',
30 => 'http://docs.oracle.com/javase/7/docs/api/java/nio/channels/{FNAME}.html',
31 => 'http://docs.oracle.com/javase/7/docs/api/java/nio/channels/spi/{FNAME}.html',
32 => 'http://docs.oracle.com/javase/7/docs/api/java/nio/charset/{FNAME}.html',
33 => 'http://docs.oracle.com/javase/7/docs/api/java/nio/charset/spi/{FNAME}.html',
34 => 'http://docs.oracle.com/javase/7/docs/api/java/rmi/{FNAME}.html',
35 => 'http://docs.oracle.com/javase/7/docs/api/java/rmi/activation/{FNAME}.html',
36 => 'http://docs.oracle.com/javase/7/docs/api/java/rmi/dgc/{FNAME}.html',
37 => 'http://docs.oracle.com/javase/7/docs/api/java/rmi/registry/{FNAME}.html',
38 => 'http://docs.oracle.com/javase/7/docs/api/java/rmi/server/{FNAME}.html',
39 => 'http://docs.oracle.com/javase/7/docs/api/java/security/{FNAME}.html',
40 => 'http://docs.oracle.com/javase/7/docs/api/java/security/acl/{FNAME}.html',
41 => 'http://docs.oracle.com/javase/7/docs/api/java/security/cert/{FNAME}.html',
42 => 'http://docs.oracle.com/javase/7/docs/api/java/security/interfaces/{FNAME}.html',
43 => 'http://docs.oracle.com/javase/7/docs/api/java/security/spec/{FNAME}.html',
44 => 'http://docs.oracle.com/javase/7/docs/api/java/sql/{FNAME}.html',
45 => 'http://docs.oracle.com/javase/7/docs/api/java/text/{FNAME}.html',
46 => 'http://docs.oracle.com/javase/7/docs/api/java/util/{FNAME}.html',
47 => 'http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/{FNAME}.html',
48 => 'http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/{FNAME}.html',
49 => 'http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/{FNAME}.html',
50 => 'http://docs.oracle.com/javase/7/docs/api/java/util/jar/{FNAME}.html',
51 => 'http://docs.oracle.com/javase/7/docs/api/java/util/logging/{FNAME}.html',
52 => 'http://docs.oracle.com/javase/7/docs/api/java/util/prefs/{FNAME}.html',
53 => 'http://docs.oracle.com/javase/7/docs/api/java/util/regex/{FNAME}.html',
54 => 'http://docs.oracle.com/javase/7/docs/api/java/util/zip/{FNAME}.html',
55 => 'http://docs.oracle.com/javase/7/docs/api/javax/accessibility/{FNAME}.html',
56 => 'http://docs.oracle.com/javase/7/docs/api/javax/activity/{FNAME}.html',
57 => 'http://docs.oracle.com/javase/7/docs/api/javax/crypto/{FNAME}.html',
58 => 'http://docs.oracle.com/javase/7/docs/api/javax/crypto/interfaces/{FNAME}.html',
59 => 'http://docs.oracle.com/javase/7/docs/api/javax/crypto/spec/{FNAME}.html',
60 => 'http://docs.oracle.com/javase/7/docs/api/javax/imageio/{FNAME}.html',
61 => 'http://docs.oracle.com/javase/7/docs/api/javax/imageio/event/{FNAME}.html',
62 => 'http://docs.oracle.com/javase/7/docs/api/javax/imageio/metadata/{FNAME}.html',
63 => 'http://docs.oracle.com/javase/7/docs/api/javax/imageio/plugins/bmp/{FNAME}.html',
64 => 'http://docs.oracle.com/javase/7/docs/api/javax/imageio/plugins/jpeg/{FNAME}.html',
65 => 'http://docs.oracle.com/javase/7/docs/api/javax/imageio/spi/{FNAME}.html',
66 => 'http://docs.oracle.com/javase/7/docs/api/javax/imageio/stream/{FNAME}.html',
67 => 'http://docs.oracle.com/javase/7/docs/api/javax/management/{FNAME}.html',
68 => 'http://docs.oracle.com/javase/7/docs/api/javax/management/loading/{FNAME}.html',
69 => 'http://docs.oracle.com/javase/7/docs/api/javax/management/modelmbean/{FNAME}.html',
70 => 'http://docs.oracle.com/javase/7/docs/api/javax/management/monitor/{FNAME}.html',
71 => 'http://docs.oracle.com/javase/7/docs/api/javax/management/openmbean/{FNAME}.html',
72 => 'http://docs.oracle.com/javase/7/docs/api/javax/management/relation/{FNAME}.html',
73 => 'http://docs.oracle.com/javase/7/docs/api/javax/management/remote/{FNAME}.html',
74 => 'http://docs.oracle.com/javase/7/docs/api/javax/management/remote/rmi/{FNAME}.html',
75 => 'http://docs.oracle.com/javase/7/docs/api/javax/management/timer/{FNAME}.html',
76 => 'http://docs.oracle.com/javase/7/docs/api/javax/naming/{FNAME}.html',
77 => 'http://docs.oracle.com/javase/7/docs/api/javax/naming/directory/{FNAME}.html',
78 => 'http://docs.oracle.com/javase/7/docs/api/javax/naming/event/{FNAME}.html',
79 => 'http://docs.oracle.com/javase/7/docs/api/javax/naming/ldap/{FNAME}.html',
80 => 'http://docs.oracle.com/javase/7/docs/api/javax/naming/spi/{FNAME}.html',
81 => 'http://docs.oracle.com/javase/7/docs/api/javax/net/{FNAME}.html',
82 => 'http://docs.oracle.com/javase/7/docs/api/javax/net/ssl/{FNAME}.html',
83 => 'http://docs.oracle.com/javase/7/docs/api/javax/print/{FNAME}.html',
84 => 'http://docs.oracle.com/javase/7/docs/api/javax/print/attribute/{FNAME}.html',
85 => 'http://docs.oracle.com/javase/7/docs/api/javax/print/attribute/standard/{FNAME}.html',
86 => 'http://docs.oracle.com/javase/7/docs/api/javax/print/event/{FNAME}.html',
87 => 'http://docs.oracle.com/javase/7/docs/api/javax/rmi/{FNAME}.html',
88 => 'http://docs.oracle.com/javase/7/docs/api/javax/rmi/CORBA/{FNAME}.html',
89 => 'http://docs.oracle.com/javase/7/docs/api/javax/rmi/ssl/{FNAME}.html',
90 => 'http://docs.oracle.com/javase/7/docs/api/javax/security/auth/{FNAME}.html',
91 => 'http://docs.oracle.com/javase/7/docs/api/javax/security/auth/callback/{FNAME}.html',
92 => 'http://docs.oracle.com/javase/7/docs/api/javax/security/auth/kerberos/{FNAME}.html',
93 => 'http://docs.oracle.com/javase/7/docs/api/javax/security/auth/login/{FNAME}.html',
94 => 'http://docs.oracle.com/javase/7/docs/api/javax/security/auth/spi/{FNAME}.html',
95 => 'http://docs.oracle.com/javase/7/docs/api/javax/security/auth/x500/{FNAME}.html',
96 => 'http://docs.oracle.com/javase/7/docs/api/javax/security/sasl/{FNAME}.html',
97 => 'http://docs.oracle.com/javase/7/docs/api/javax/sound/midi/{FNAME}.html',
98 => 'http://docs.oracle.com/javase/7/docs/api/javax/sound/midi/spi/{FNAME}.html',
99 => 'http://docs.oracle.com/javase/7/docs/api/javax/sound/sampled/{FNAME}.html',
100 => 'http://docs.oracle.com/javase/7/docs/api/javax/sound/sampled/spi/{FNAME}.html',
101 => 'http://docs.oracle.com/javase/7/docs/api/javax/sql/{FNAME}.html',
102 => 'http://docs.oracle.com/javase/7/docs/api/javax/sql/rowset/{FNAME}.html',
103 => 'http://docs.oracle.com/javase/7/docs/api/javax/sql/rowset/serial/{FNAME}.html',
104 => 'http://docs.oracle.com/javase/7/docs/api/javax/sql/rowset/spi/{FNAME}.html',
105 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/{FNAME}.html',
106 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/border/{FNAME}.html',
107 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/colorchooser/{FNAME}.html',
108 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/event/{FNAME}.html',
109 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/filechooser/{FNAME}.html',
110 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/plaf/{FNAME}.html',
111 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/plaf/basic/{FNAME}.html',
112 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/plaf/metal/{FNAME}.html',
113 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/plaf/multi/{FNAME}.html',
114 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/plaf/synth/{FNAME}.html',
115 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/table/{FNAME}.html',
116 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/text/{FNAME}.html',
117 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/text/html/{FNAME}.html',
118 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/text/html/parser/{FNAME}.html',
119 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/text/rtf/{FNAME}.html',
120 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/tree/{FNAME}.html',
121 => 'http://docs.oracle.com/javase/7/docs/api/javax/swing/undo/{FNAME}.html',
122 => 'http://docs.oracle.com/javase/7/docs/api/javax/transaction/{FNAME}.html',
123 => 'http://docs.oracle.com/javase/7/docs/api/javax/transaction/xa/{FNAME}.html',
124 => 'http://docs.oracle.com/javase/7/docs/api/javax/xml/{FNAME}.html',
125 => 'http://docs.oracle.com/javase/7/docs/api/javax/xml/datatype/{FNAME}.html',
126 => 'http://docs.oracle.com/javase/7/docs/api/javax/xml/namespace/{FNAME}.html',
127 => 'http://docs.oracle.com/javase/7/docs/api/javax/xml/parsers/{FNAME}.html',
128 => 'http://docs.oracle.com/javase/7/docs/api/javax/xml/transform/{FNAME}.html',
129 => 'http://docs.oracle.com/javase/7/docs/api/javax/xml/transform/dom/{FNAME}.html',
130 => 'http://docs.oracle.com/javase/7/docs/api/javax/xml/transform/sax/{FNAME}.html',
131 => 'http://docs.oracle.com/javase/7/docs/api/javax/xml/transform/stream/{FNAME}.html',
132 => 'http://docs.oracle.com/javase/7/docs/api/javax/xml/validation/{FNAME}.html',
133 => 'http://docs.oracle.com/javase/7/docs/api/javax/xml/xpath/{FNAME}.html',
134 => 'http://docs.oracle.com/javase/7/docs/api/org/ietf/jgss/{FNAME}.html',
135 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/CORBA/{FNAME}.html',
136 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/CORBA/DynAnyPackage/{FNAME}.html',
137 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/CORBA/TypeCodePackage/{FNAME}.html',
138 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/CORBA/portable/{FNAME}.html',
139 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/CosNaming/{FNAME}.html',
140 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/CosNaming/NamingContextExtPackage/{FNAME}.html',
141 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/CosNaming/NamingContextPackage/{FNAME}.html',
142 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/Dynamic/{FNAME}.html',
143 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/DynamicAny/{FNAME}.html',
144 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/DynamicAny/DynAnyFactoryPackage/{FNAME}.html',
145 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/DynamicAny/DynAnyPackage/{FNAME}.html',
146 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/IOP/{FNAME}.html',
147 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/IOP/CodecFactoryPackage/{FNAME}.html',
148 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/IOP/CodecPackage/{FNAME}.html',
149 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/Messaging/{FNAME}.html',
150 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/PortableInterceptor/{FNAME}.html',
151 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/PortableInterceptor/ORBInitInfoPackage/{FNAME}.html',
152 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/PortableServer/{FNAME}.html',
153 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/PortableServer/CurrentPackage/{FNAME}.html',
154 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/PortableServer/POAManagerPackage/{FNAME}.html',
155 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/PortableServer/POAPackage/{FNAME}.html',
156 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/PortableServer/ServantLocatorPackage/{FNAME}.html',
157 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/SendingContext/{FNAME}.html',
158 => 'http://docs.oracle.com/javase/7/docs/api/org/omg/stub/java/rmi/{FNAME}.html',
159 => 'http://docs.oracle.com/javase/7/docs/api/org/w3c/dom/{FNAME}.html',
160 => 'http://docs.oracle.com/javase/7/docs/api/org/w3c/dom/bootstrap/{FNAME}.html',
161 => 'http://docs.oracle.com/javase/7/docs/api/org/w3c/dom/events/{FNAME}.html',
162 => 'http://docs.oracle.com/javase/7/docs/api/org/w3c/dom/ls/{FNAME}.html',
163 => 'http://docs.oracle.com/javase/7/docs/api/org/xml/sax/{FNAME}.html',
164 => 'http://docs.oracle.com/javase/7/docs/api/org/xml/sax/ext/{FNAME}.html',
165 => 'http://docs.oracle.com/javase/7/docs/api/org/xml/sax/helpers/{FNAME}.html',
/* ambiguous class names (appear in more than one package) */ /* ambiguous class names (appear in more than one package) */
166 => 'http://www.google.com/search?sitesearch=java.sun.com&amp;q=allinurl%3Aj2se%2F1+5+0%2Fdocs%2Fapi+{FNAME}'
166 => 'http://www.google.com/search?sitesearch=docs.oracle.com&amp;q=allinurl%3Ajavase+docs+api+{FNAME}'
), ),
'OOLANG' => true, 'OOLANG' => true,
'OBJECT_SPLITTERS' => array( 'OBJECT_SPLITTERS' => array(
@@ -1034,4 +1034,4 @@ $language_data = array (
) )
); );


?>
?>

+ 42
- 20
paste/geshi/javascript.php View File

@@ -4,13 +4,15 @@
* -------------- * --------------
* Author: Ben Keen (ben.keen@gmail.com) * Author: Ben Keen (ben.keen@gmail.com)
* Copyright: (c) 2004 Ben Keen (ben.keen@gmail.com), Nigel McNie (http://qbnz.com/highlighter) * Copyright: (c) 2004 Ben Keen (ben.keen@gmail.com), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2004/06/20 * Date Started: 2004/06/20
* *
* JavaScript language file for GeSHi. * JavaScript language file for GeSHi.
* *
* CHANGES * CHANGES
* ------- * -------
* 2012/06/27 (1.0.8.11)
* - Reordered Keyword Groups to reflect syntactical meaning of keywords
* 2008/05/23 (1.0.7.22) * 2008/05/23 (1.0.7.22)
* - Added description of extra language features (SF#1970248) * - Added description of extra language features (SF#1970248)
* 2004/11/27 (1.0.1) * 2004/11/27 (1.0.1)
@@ -54,23 +56,38 @@ $language_data = array (
'ESCAPE_CHAR' => '\\', 'ESCAPE_CHAR' => '\\',
'KEYWORDS' => array( 'KEYWORDS' => array(
1 => array( 1 => array(
'as', 'break', 'case', 'catch', 'continue', 'decodeURI', 'delete', 'do',
'else', 'encodeURI', 'eval', 'finally', 'for', 'if', 'in', 'is', 'item',
'instanceof', 'return', 'switch', 'this', 'throw', 'try', 'typeof', 'void',
'while', 'write', 'with'
//reserved/keywords; also some non-reserved keywords
'break','case','catch','const','continue',
'default','delete','do',
'else',
'finally','for','function',
'get','goto',
'if','in','instanceof',
'new',
'prototype',
'return',
'set','static','switch',
'this','throw','try','typeof',
'var','void'
), ),
2 => array( 2 => array(
'class', 'const', 'default', 'debugger', 'export', 'extends', 'false',
'function', 'import', 'namespace', 'new', 'null', 'package', 'private',
'protected', 'public', 'super', 'true', 'use', 'var'
//reserved/non-keywords; metaconstants
'false','null','true','undefined','NaN','Infinity'
), ),
3 => array( 3 => array(
// common functions for Window object
'alert', 'back', 'blur', 'close', 'confirm', 'focus', 'forward', 'home',
'name', 'navigate', 'onblur', 'onerror', 'onfocus', 'onload', 'onmove',
'onresize', 'onunload', 'open', 'print', 'prompt', 'scroll', 'status',
'stop',
)
//magic properties/functions
'__proto__','__defineGetter__','__defineSetter__','hasOwnProperty','hasProperty'
),
4 => array(
//type constructors
'Object', 'Function', 'Date', 'Math', 'String', 'Number', 'Boolean', 'Array'
),
5 => array(
//reserved, but invalid in language
'abstract','boolean','byte','char','class','debugger','double','enum','export','extends',
'final','float','implements','import','int','interface','long','native',
'short','super','synchronized','throws','transient','volatile'
),
), ),
'SYMBOLS' => array( 'SYMBOLS' => array(
'(', ')', '[', ']', '{', '}', '(', ')', '[', ']', '{', '}',
@@ -81,15 +98,18 @@ $language_data = array (
), ),
'CASE_SENSITIVE' => array( 'CASE_SENSITIVE' => array(
GESHI_COMMENTS => false, GESHI_COMMENTS => false,
1 => false,
2 => false,
3 => false
1 => true,
2 => true,
3 => true,
4 => true,
5 => true
), ),
'STYLES' => array( 'STYLES' => array(
'KEYWORDS' => array( 'KEYWORDS' => array(
1 => 'color: #000066; font-weight: bold;', 1 => 'color: #000066; font-weight: bold;',
2 => 'color: #003366; font-weight: bold;', 2 => 'color: #003366; font-weight: bold;',
3 => 'color: #000066;'
3 => 'color: #000066;',
5 => 'color: #FF0000;'
), ),
'COMMENTS' => array( 'COMMENTS' => array(
1 => 'color: #006600; font-style: italic;', 1 => 'color: #006600; font-style: italic;',
@@ -126,8 +146,10 @@ $language_data = array (
'URLS' => array( 'URLS' => array(
1 => '', 1 => '',
2 => '', 2 => '',
3 => ''
),
3 => '',
4 => '',
5 => ''
),
'OOLANG' => true, 'OOLANG' => true,
'OBJECT_SPLITTERS' => array( 'OBJECT_SPLITTERS' => array(
1 => '.' 1 => '.'


+ 1
- 1
paste/geshi/jquery.php View File

@@ -4,7 +4,7 @@
* -------------- * --------------
* Author: Rob Loach (http://www.robloach.net) * Author: Rob Loach (http://www.robloach.net)
* Copyright: (c) 2009 Rob Loach (http://www.robloach.net) * Copyright: (c) 2009 Rob Loach (http://www.robloach.net)
* Release Version: 1.0.8.10
* Release Version: 1.0.8.11
* Date Started: 2009/07/20 * Date Started: 2009/07/20
* *
* jQuery 1.3 language file for GeSHi. * jQuery 1.3 language file for GeSHi.


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save