List Info

Thread: geshi-src/geshi/languages/php php5.php,1.4,1.5 php.php,1.11,1.12 common.php,1.3,1.4 php4.php,1.8,1.9




geshi-src/geshi/languages/php php5.php,1.4,1.5 php.php,1.11,1.12 common.php,1.3,1.4 php4.php,1.8,1.9
user name
2006-05-14 09:22:24
Update of /cvsroot/geshi/geshi-src/geshi/languages/php
In directory
sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv21987/geshi/languag
es/php

Modified Files:
	php5.php php.php common.php php4.php 
Log Message:
Use bug #73 features for PHP language.

Index: php5.php
============================================================
=======
RCS file:
/cvsroot/geshi/geshi-src/geshi/languages/php/php5.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** php5.php	26 Apr 2006 08:36:07 -0000	1.4
--- php5.php	14 May 2006 09:22:22 -0000	1.5
***************
*** 782,809 ****
  }
  
- function geshi_php_php5_single_string (&$context)
- {
-     geshi_php_single_string($context);
- }
- 
- function geshi_php_php5_double_string (&$context)
- {
-     geshi_php_double_string($context);
- }
- 
- function geshi_php_php5_heredoc (&$context)
- {
-     geshi_php_heredoc($context);
- }
- 
- function geshi_php_php5_single_comment (&$context)
- {
-     geshi_php_single_comment($context);
- }
- 
- function geshi_php_php5_multi_comment (&$context)
- {
-     geshi_php_multi_comment($context);
- }
- 
  ?>
--- 782,784 ----

Index: php.php
============================================================
=======
RCS file:
/cvsroot/geshi/geshi-src/geshi/languages/php/php.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** php.php	26 Apr 2006 08:19:40 -0000	1.11
--- php.php	14 May 2006 09:22:22 -0000	1.12
***************
*** 779,806 ****
  }
  
- function geshi_php_php_single_string (&$context)
- {
-     geshi_php_single_string($context);
- }
- 
- function geshi_php_php_double_string (&$context)
- {
-     geshi_php_double_string($context);
- }
- 
- function geshi_php_php_heredoc (&$context)
- {
-     geshi_php_heredoc($context);
- }
- 
- function geshi_php_php_single_comment (&$context)
- {
-     geshi_php_single_comment($context);
- }
- 
- function geshi_php_php_multi_comment (&$context)
- {
-     geshi_php_multi_comment($context);
- }
- 
  ?>
--- 779,781 ----

Index: php4.php
============================================================
=======
RCS file:
/cvsroot/geshi/geshi-src/geshi/languages/php/php4.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** php4.php	26 Apr 2006 08:20:13 -0000	1.8
--- php4.php	14 May 2006 09:22:22 -0000	1.9
***************
*** 778,805 ****
  }
  
- function geshi_php_php4_single_string (&$context)
- {
-     geshi_php_single_string($context);
- }
- 
- function geshi_php_php4_double_string (&$context)
- {
-     geshi_php_double_string($context);
- }
- 
- function geshi_php_php4_heredoc (&$context)
- {
-     geshi_php_heredoc($context);
- }
- 
- function geshi_php_php4_single_comment (&$context)
- {
-     geshi_php_single_comment($context);
- }
- 
- function geshi_php_php4_multi_comment (&$context)
- {
-     geshi_php_multi_comment($context);
- }
- 
  ?>
--- 778,780 ----

Index: common.php
============================================================
=======
RCS file:
/cvsroot/geshi/geshi-src/geshi/languages/php/common.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** common.php	14 May 2006 01:30:18 -0000	1.3
--- common.php	14 May 2006 09:22:22 -0000	1.4
***************
*** 36,39 ****
--- 36,42 ----
   */
  
+ /** Get the GeSHiPHPDoubleStringContext class */
+ require_once GESHI_LANGUAGES_ROOT . 'php' .
GESHI_DIR_SEP . 'class.geshiphpdoublestringcontext.php';
+ 
  function geshi_php_common (&$context)
  {
***************
*** 43,51 ****
  
      // Children for PHP
!     $context->addChild('single_string', 'string');
!     $context->addChild('double_string',
'phpdoublestring', 'php');
!     $context->addChild('heredoc',
'phpdoublestring', 'php');
!     $context->addChild('single_comment');
!     $context->addChild('multi_comment');
      // Parse PHPDoc comments with doxygen
      $context->addChildLanguage('doxygen/doxygen',
'/**', '*/');
--- 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',
'/**', '*/');



-------------------------------------------------------
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 )