List Info

Thread: geshi-src/geshi/languages/php common.php,1.4,1.5




geshi-src/geshi/languages/php common.php,1.4,1.5
user name
2006-05-16 10:07:37
Update of /cvsroot/geshi/geshi-src/geshi/languages/php
In directory
sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv7948/geshi/language
s/php

Modified Files:
	common.php 
Log Message:
Because of the better fix for bug 73, we don't need to
specify functions so often now.

Index: common.php
============================================================
=======
RCS file:
/cvsroot/geshi/geshi-src/geshi/languages/php/common.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** common.php	14 May 2006 09:22:22 -0000	1.4
--- common.php	16 May 2006 10:07:35 -0000	1.5
***************
*** 46,54 ****
  
      // Children for PHP
!     $context->addChild('single_string', 'string',
'single_string');
!     $context->addChild('double_string',
'phpdoublestring', 'double_string');
!     $context->addChild('heredoc',
'phpdoublestring', 'heredoc');
!     $context->addChild('single_comment', '',
'single_comment');
!     $context->addChild('multi_comment', '',
'multi_comment');
      // Parse PHPDoc comments with doxygen
      $context->addChildLanguage('doxygen/doxygen',
'/**', '*/');
--- 46,54 ----
  
      // Children for PHP
!     $context->addChild('single_string', 'string');
!     $context->addChild('double_string',
'phpdoublestring');
!     $context->addChild('heredoc',
'phpdoublestring');
!     $context->addChild('single_comment');
!     $context->addChild('multi_comment');
      // Parse PHPDoc comments with doxygen
      $context->addChildLanguage('doxygen/doxygen',
'/**', '*/');
***************
*** 138,147 ****
      //$this->_contextStyleType = GESHI_STYLE_COMMENTS;
  }
! 
  function geshi_php_multi_comment (&$context)
  {
!     $context->addDelimiters('/*', '*/');
      //$this->_contextStyleType = GESHI_STYLE_COMMENTS;
! }
  
  ?>
--- 138,147 ----
      //$this->_contextStyleType = GESHI_STYLE_COMMENTS;
  }
! /*
  function geshi_php_multi_comment (&$context)
  {
!     $context->addDelimiters('/*', '*//*');
      //$this->_contextStyleType = GESHI_STYLE_COMMENTS;
! }*/
  
  ?>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
geshi-cvs mailing list
geshi-cvslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geshi-cvs

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )