jablonka.czprosek.czf

websvn

Subversion Repositories:
[/] [lib/] [geshi/] [glsl.php] - Diff between revs 1 and 3

Show entire file Ignore whitespace

Rev 1 Rev 3
Line 2... Line 2...
/************************************************************************************* /*************************************************************************************
* glsl.php * glsl.php
* ----- * -----
* 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.1 * Release Version: 1.0.8.3
* Date Started: 2008/03/20 * Date Started: 2008/03/20
* *
* glSlang language file for GeSHi. * glSlang language file for GeSHi.
* *
* CHANGES * CHANGES
Line 39... Line 39...
   
$language_data = array ( $language_data = array (
'LANG_NAME' => 'glSlang', 'LANG_NAME' => 'glSlang',
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'), 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
'COMMENT_MULTI' => array('/*' => '*/'), '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, 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array("'", '"'), 'QUOTEMARKS' => array("'", '"'),
'ESCAPE_CHAR' => '\\', 'ESCAPE_CHAR' => '\\',
'KEYWORDS' => array( 'KEYWORDS' => array(
1 => array( 1 => array(
Line 52... Line 58...
), ),
2 => array( 2 => array(
'const', 'uniform', 'attribute', 'centroid', 'varying', 'invariant', 'const', 'uniform', 'attribute', 'centroid', 'varying', 'invariant',
'in', 'out', 'inout', 'input', 'output', 'typedef', 'volatile', 'in', 'out', 'inout', 'input', 'output', 'typedef', 'volatile',
'public', 'static', 'extern', 'external', 'packed', 'public', 'static', 'extern', 'external', 'packed',
'inline', 'noinline' 'inline', 'noinline', 'noperspective', 'flat'
), ),
3 => array( 3 => array(
'void', 'bool', 'int', 'long', 'short', 'float', 'half', 'fixed', 'void', 'bool', 'int', 'long', 'short', 'float', 'half', 'fixed',
'unsigned', 'lowp', 'mediump', 'highp', 'precision', 'unsigned', 'lowp', 'mediump', 'highp', 'precision',
'vec2', 'vec3', 'vec4', 'bvec2', 'bvec3', 'bvec4', 'vec2', 'vec3', 'vec4', 'bvec2', 'bvec3', 'bvec4',
Line 195... Line 201...
) )
) )
); );
   
?> ?>
   

Powered by WebSVN 2.2.1