diff -r c715631f809a -r 9e3258dfae15 plugins/geshi/geshi/scheme.php --- a/plugins/geshi/geshi/scheme.php Sun Feb 10 19:00:04 2008 -0500 +++ b/plugins/geshi/geshi/scheme.php Fri May 29 19:30:59 2009 -0400 @@ -4,7 +4,7 @@ * ---------- * Author: Jon Raphaelson (jonraphaelson@gmail.com) * Copyright: (c) 2005 Jon Raphaelson, Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.7.20 + * Release Version: 1.0.8.2 * Date Started: 2004/08/30 * * Scheme language file for GeSHi. @@ -38,133 +38,133 @@ ************************************************************************************/ $language_data = array ( - 'LANG_NAME' => 'Scheme', - 'COMMENT_SINGLE' => array(1 => ';'), - 'COMMENT_MULTI' => array(';|' => '|;'), - 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, - 'QUOTEMARKS' => array('"'), - 'ESCAPE_CHAR' => '\\', - 'KEYWORDS' => array( - 1 => array( - 'abs', 'acos', 'and', 'angle', 'append', 'appply', 'approximate', - 'asin', 'assoc', 'assq', 'assv', 'atan', - - 'begin', 'boolean?', 'bound-identifier=?', - - 'caar', 'caddr', 'cadr', 'call-with-current-continuation', - 'call-with-input-file', 'call-with-output-file', 'call/cc', 'car', - 'case', 'catch', 'cdddar', 'cddddr', 'cdr', 'ceiling', 'char->integer', - 'char-alphabetic?', 'char-ci<=?', 'char-ci=?', - 'char-ci>?', 'char-ci=?', 'char-downcase', 'char-lower-case?', - 'char-numeric', 'char-ready', 'char-ready?', 'char-upcase', - 'char-upper-case?', 'char-whitespace?', 'char<=?', 'char=?', 'char>?', 'char?', 'close-input-port', 'close-output-port', - 'complex?', 'cond', 'cons', 'construct-identifier', 'cos', - 'current-input-port', 'current-output-port', - - 'd', 'define', 'define-syntax', 'delay', 'denominator', 'display', 'do', - - 'e', 'eof-object?', 'eq?', 'equal?', 'eqv?', 'even?', 'exact->inexact', - 'exact?', 'exp', 'expt', 'else', - - 'f', 'floor', 'for-each', 'force', 'free-identifer=?', - - 'gcd', 'gen-counter', 'gen-loser', 'generate-identifier', - - 'identifier->symbol', 'identifier', 'if', 'imag-part', 'inexact->exact', - 'inexact?', 'input-port?', 'integer->char', 'integer?', 'integrate-system', - - 'l', 'lambda', 'last-pair', 'lcm', 'length', 'let', 'let*', 'letrec', - 'list', 'list->string', 'list->vector', 'list-ref', 'list-tail', 'list?', - 'load', 'log', - - 'magnitude', 'make-polar', 'make-promise', 'make-rectangular', - 'make-string', 'make-vector', 'map', 'map-streams', 'max', 'member', - 'memq', 'memv', 'min', 'modulo', - - 'negative', 'newline', 'nil', 'not', 'null?', 'number->string', 'number?', - 'numerator', - - 'odd?', 'open-input-file', 'open-output-file', 'or', 'output-port', - - 'pair?', 'peek-char', 'positive?', 'procedure?', - - 'quasiquote', 'quote', 'quotient', - - 'rational', 'rationalize', 'read', 'read-char', 'real-part', 'real?', - 'remainder', 'return', 'reverse', - - 's', 'sequence', 'set!', 'set-char!', 'set-cdr!', 'sin', 'sqrt', 'string', - 'string->list', 'string->number', 'string->symbol', 'string-append', - 'string-ci<=?', 'string-ci=?', - 'string-ci>?', 'string-copy', 'string-fill!', 'string-length', - 'string-ref', 'string-set!', 'string<=?', 'string=?', 'string>?', 'string?', 'substring', 'symbol->string', - 'symbol?', 'syntax', 'syntax-rules', - - 't', 'tan', 'template', 'transcript-off', 'transcript-on', 'truncate', - - 'unquote', 'unquote-splicing', 'unwrap-syntax', - - 'vector', 'vector->list', 'vector-fill!', 'vector-length', 'vector-ref', - 'vector-set!', 'vector?', - - 'with-input-from-file', 'with-output-to-file', 'write', 'write-char', - - 'zero?' - - ) - ), - 'SYMBOLS' => array( - '(', ')', '{', '}', '[', ']', '!', '%', '^', '&', '/','+','-','*','=','<','>',';','|' - ), - 'CASE_SENSITIVE' => array( - GESHI_COMMENTS => true, - 1 => false - ), - 'STYLES' => array( - 'KEYWORDS' => array( - 1 => 'color: #b1b100;' - ), - 'COMMENTS' => array( - 1 => 'color: #808080; font-style: italic;', - 'MULTI' => '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( - 0 => 'color: #202020;' - ), - 'SYMBOLS' => array( - 0 => 'color: #66cc66;' - ), - 'REGEXPS' => array( - ), - 'SCRIPT' => array( - ) - ), - 'URLS' => array( - ), - 'OOLANG' => false, - 'OBJECT_SPLITTERS' => array( - ), - 'REGEXPS' => array( - ), - 'STRICT_MODE_APPLIES' => GESHI_NEVER, - 'SCRIPT_DELIMITERS' => array( - ), - 'HIGHLIGHT_STRICT_BLOCK' => array( - ) + 'LANG_NAME' => 'Scheme', + 'COMMENT_SINGLE' => array(1 => ';'), + 'COMMENT_MULTI' => array('#|' => '|#'), + 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, + 'QUOTEMARKS' => array('"'), + 'ESCAPE_CHAR' => '\\', + 'KEYWORDS' => array( + 1 => array( + 'abs', 'acos', 'and', 'angle', 'append', 'appply', 'approximate', + 'asin', 'assoc', 'assq', 'assv', 'atan', + + 'begin', 'boolean?', 'bound-identifier=?', + + 'caar', 'caddr', 'cadr', 'call-with-current-continuation', + 'call-with-input-file', 'call-with-output-file', 'call/cc', 'car', + 'case', 'catch', 'cdddar', 'cddddr', 'cdr', 'ceiling', 'char->integer', + 'char-alphabetic?', 'char-ci<=?', 'char-ci=?', + 'char-ci>?', 'char-ci=?', 'char-downcase', 'char-lower-case?', + 'char-numeric', 'char-ready', 'char-ready?', 'char-upcase', + 'char-upper-case?', 'char-whitespace?', 'char<=?', 'char=?', 'char>?', 'char?', 'close-input-port', 'close-output-port', + 'complex?', 'cond', 'cons', 'construct-identifier', 'cos', + 'current-input-port', 'current-output-port', + + 'd', 'define', 'define-syntax', 'delay', 'denominator', 'display', 'do', + + 'e', 'eof-object?', 'eq?', 'equal?', 'eqv?', 'even?', 'exact->inexact', + 'exact?', 'exp', 'expt', 'else', + + 'f', 'floor', 'for-each', 'force', 'free-identifer=?', + + 'gcd', 'gen-counter', 'gen-loser', 'generate-identifier', + + 'identifier->symbol', 'identifier', 'if', 'imag-part', 'inexact->exact', + 'inexact?', 'input-port?', 'integer->char', 'integer?', 'integrate-system', + + 'l', 'lambda', 'last-pair', 'lcm', 'length', 'let', 'let*', 'letrec', + 'list', 'list->string', 'list->vector', 'list-ref', 'list-tail', 'list?', + 'load', 'log', + + 'magnitude', 'make-polar', 'make-promise', 'make-rectangular', + 'make-string', 'make-vector', 'map', 'map-streams', 'max', 'member', + 'memq', 'memv', 'min', 'modulo', + + 'negative', 'newline', 'nil', 'not', 'null?', 'number->string', 'number?', + 'numerator', + + 'odd?', 'open-input-file', 'open-output-file', 'or', 'output-port', + + 'pair?', 'peek-char', 'positive?', 'procedure?', + + 'quasiquote', 'quote', 'quotient', + + 'rational', 'rationalize', 'read', 'read-char', 'real-part', 'real?', + 'remainder', 'return', 'reverse', + + 's', 'sequence', 'set!', 'set-char!', 'set-cdr!', 'sin', 'sqrt', 'string', + 'string->list', 'string->number', 'string->symbol', 'string-append', + 'string-ci<=?', 'string-ci=?', + 'string-ci>?', 'string-copy', 'string-fill!', 'string-length', + 'string-ref', 'string-set!', 'string<=?', 'string=?', 'string>?', 'string?', 'substring', 'symbol->string', + 'symbol?', 'syntax', 'syntax-rules', + + 't', 'tan', 'template', 'transcript-off', 'transcript-on', 'truncate', + + 'unquote', 'unquote-splicing', 'unwrap-syntax', + + 'vector', 'vector->list', 'vector-fill!', 'vector-length', 'vector-ref', + 'vector-set!', 'vector?', + + 'with-input-from-file', 'with-output-to-file', 'write', 'write-char', + + 'zero?' + ) + ), + 'SYMBOLS' => array( + '(', ')', '{', '}', '[', ']', '!', '%', '^', '&', '/','+','-','*','=','<','>',';','|' + ), + 'CASE_SENSITIVE' => array( + GESHI_COMMENTS => false, + 1 => false + ), + 'STYLES' => array( + 'KEYWORDS' => array( + 1 => 'color: #b1b100;' + ), + 'COMMENTS' => array( + 1 => 'color: #808080; font-style: italic;', + 'MULTI' => '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( + 0 => 'color: #202020;' + ), + 'SYMBOLS' => array( + 0 => 'color: #66cc66;' + ), + 'REGEXPS' => array( + ), + 'SCRIPT' => array( + ) + ), + 'URLS' => array( + 1 => '' + ), + 'OOLANG' => false, + 'OBJECT_SPLITTERS' => array( + ), + 'REGEXPS' => array( + ), + 'STRICT_MODE_APPLIES' => GESHI_NEVER, + 'SCRIPT_DELIMITERS' => array( + ), + 'HIGHLIGHT_STRICT_BLOCK' => array( + ) ); ?>