List Info

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




geshi-src/geshi/languages/vhdl vhdl.php,1.4,1.5
user name
2006-09-11 05:11:23
Update of /cvsroot/geshi/geshi-src/geshi/languages/vhdl
In directory
sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv32007/geshi/languag
es/vhdl

Modified Files:
	vhdl.php 
Log Message:
Converted languages to use the new escape char grouping
methods for strings.

Index: vhdl.php
============================================================
=======
RCS file:
/cvsroot/geshi/geshi-src/geshi/languages/vhdl/vhdl.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** vhdl.php	2 Jun 2006 09:43:43 -0000	1.4
--- vhdl.php	11 Sep 2006 05:11:21 -0000	1.5
***************
*** 93,98 ****
      $context->addDelimiters('"', '"');
      //$this->_contextStyleType = GESHI_STYLE_STRINGS;
!     $context->setEscapeCharacters('\\');
!     $context->setCharactersToEscape('n', 'r',
't', '\\', '"');
  }
      
--- 93,97 ----
      $context->addDelimiters('"', '"');
      //$this->_contextStyleType = GESHI_STYLE_STRINGS;
!     $context->addEscapeGroup('\\', array('n',
'r', 't', '\\', '"'));
  }
      
***************
*** 105,107 ****
  /**#-*/
  
! ?>
\ No newline at end of file
--- 104,106 ----
  /**#-*/
  
! ?>


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