summaryrefslogtreecommitdiffstats
path: root/application/libraries/geshi/bnf.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-02-14 01:17:10 +0100
committerFlorian Pritz <bluewind@xinu.at>2012-02-14 01:17:10 +0100
commita635c931ff8aa79728d93a4835e06a75e8f90be8 (patch)
treeec99bc646bca4cd8d37e58378d07c1ebd1f0499f /application/libraries/geshi/bnf.php
parent798a4824a2aa099de9eb05454ebb62b1522bee65 (diff)
bump geshi to 1.0.8.10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/geshi/bnf.php')
-rw-r--r--application/libraries/geshi/bnf.php23
1 files changed, 16 insertions, 7 deletions
diff --git a/application/libraries/geshi/bnf.php b/application/libraries/geshi/bnf.php
index db5cdb59d..7cec792a9 100644
--- a/application/libraries/geshi/bnf.php
+++ b/application/libraries/geshi/bnf.php
@@ -4,7 +4,7 @@
* --------
* Author: Rowan Rodrik van der Molen (rowan@bigsmoke.us)
* Copyright: (c) 2006 Rowan Rodrik van der Molen (http://www.bigsmoke.us/)
- * Release Version: 1.0.8.6
+ * Release Version: 1.0.8.10
* Date Started: 2006/09/28
*
* BNF (Backus-Naur form) language file for GeSHi.
@@ -45,21 +45,26 @@
$language_data = array (
'LANG_NAME' => 'bnf',
- 'COMMENT_SINGLE' => array(),
+ 'COMMENT_SINGLE' => array(';'),
'COMMENT_MULTI' => array(),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array('"', "'"),
'ESCAPE_CHAR' => '',
'KEYWORDS' => array(),
'SYMBOLS' => array(
- '(', ')', '<', '>', '::=', '|'
+ 0 => array('(', ')'),
+ 1 => array('<', '>'),
+ 2 => array('[', ']'),
+ 3 => array('{', '}'),
+ 4 => array('=', '*', '/', '|', ':'),
),
'CASE_SENSITIVE' => array(
- //GESHI_COMMENTS => false
+ GESHI_COMMENTS => false
),
'STYLES' => array(
'KEYWORDS' => array(),
'COMMENTS' => array(
+ 0 => 'color: #666666; font-style: italic;', // Single Line comments
),
'ESCAPE_CHAR' => array(
0 => ''
@@ -78,8 +83,12 @@ $language_data = array (
0 => ''
),
'SYMBOLS' => array(
- 0 => 'color: #000066; font-weight: bold;', // Unused
- ),
+ 0 => 'color: #000066; font-weight: bold;', // Round brackets
+ 1 => 'color: #000066; font-weight: bold;', // Angel Brackets
+ 2 => 'color: #000066; font-weight: bold;', // Square Brackets
+ 3 => 'color: #000066; font-weight: bold;', // BRaces
+ 4 => 'color: #006600; font-weight: bold;', // Other operator symbols
+ ),
'REGEXPS' => array(
0 => 'color: #007;',
),
@@ -107,4 +116,4 @@ $language_data = array (
)
);
-?>
+?> \ No newline at end of file