From: BenBE <be...@us...> - 2005-09-21 19:49:17
|
Update of /cvsroot/geshi/geshi-src/geshi/contexts/delphi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6445/geshi-src/geshi/contexts/delphi Modified Files: property.php Log Message: add: added single comments as subcontext fix: Fixed a syntax error in your previous version (unnecessary , after index 2 of contextKeywords array) add: some stuff todo ;-) Index: property.php =================================================================== RCS file: /cvsroot/geshi/geshi-src/geshi/contexts/delphi/property.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** property.php 21 Sep 2005 11:56:38 -0000 1.4 --- property.php 21 Sep 2005 19:49:10 -0000 1.5 *************** *** 44,47 **** --- 44,48 ---- $this->_childContexts = array( new GeSHiContext('delphi', $DIALECT, 'preprocessor'), + new GeSHiContext('delphi', $DIALECT, 'common/single_comment'), new GeSHiContext('delphi', $DIALECT, 'multi_comment'), new GeSHiCodeContext('delphi', $DIALECT, 'property_index', 'delphi/' . $DIALECT) *************** *** 93,96 **** --- 94,98 ---- 2 => array( 0 => array( + //@todo get keywords normal way 'nil', 'false', 'true' *************** *** 100,104 **** 3 => false, 4 => '' ! ), ); --- 102,106 ---- 3 => false, 4 => '' ! ) ); |