[Python-checkins] CVS: python/dist/src/Modules _sre.c,2.18,2.19

Fredrik Lundh python-dev@python.org
Sat, 1 Jul 2000 16:49:16 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv15852/Modules

Modified Files:
	_sre.c 
Log Message:


- fixed "{ in any other context" bug

- minor comment touchups in the C module

Index: _sre.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_sre.c,v
retrieving revision 2.18
retrieving revision 2.19
diff -C2 -r2.18 -r2.19
*** _sre.c	2000/07/01 17:50:59	2.18
--- _sre.c	2000/07/01 23:49:14	2.19
***************
*** 20,24 ****
   * 00-06-28 fl	fixed findall (0.9.1)
   * 00-06-29 fl	fixed split, added more scanner features (0.9.2)
!  * 00-06-30 fl	tuning, fast search (0.9.3)
   * 00-06-30 fl	added assert (lookahead) primitives, etc (0.9.4)
   *
--- 20,24 ----
   * 00-06-28 fl	fixed findall (0.9.1)
   * 00-06-29 fl	fixed split, added more scanner features (0.9.2)
!  * 00-06-30 fl	added fast search optimization (0.9.3)
   * 00-06-30 fl	added assert (lookahead) primitives, etc (0.9.4)
   *
***************
*** 366,369 ****
--- 366,370 ----
  
  		case SRE_OP_LITERAL:
+             /* args: <literal> */
  			if (ch == set[0])
  				return ok;
***************
*** 372,375 ****
--- 373,377 ----
  
  		case SRE_OP_RANGE:
+             /* args: <lower> <upper> */
  			if (set[0] <= ch && ch <= set[1])
  				return ok;
***************
*** 378,381 ****
--- 380,384 ----
  
  		case SRE_OP_CATEGORY:
+             /* args: <category> */
  			if (sre_category(set[0], (int) ch))
  				return ok;