jakarta-oro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: jakarta-oro/src/java/org/apache/oro/text/regex Perl5Compiler.java
Date Mon, 14 Oct 2002 16:39:07 GMT
dfs         2002/10/14 09:39:06

  Modified:    src/java/org/apache/oro/text/regex Perl5Compiler.java
  Log:
  Added an else statement I left out when I added negative modifer support.
  It wasn't strictly necessary, but it avoids an unnecessary method call and
  will prevent introduction of bugs from changes to __setModifierFlag().
  
  Revision  Changes    Path
  1.15      +3 -2      jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Compiler.java
  
  Index: Perl5Compiler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Compiler.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Perl5Compiler.java	14 Oct 2002 16:16:22 -0000	1.14
  +++ Perl5Compiler.java	14 Oct 2002 16:39:06 -0000	1.15
  @@ -1560,7 +1560,8 @@
   		modifiers.indexOf(value) != -1) {
   	    if(value == '-')
   	      modifierFlags = negFlags;
  -	    __setModifierFlag(modifierFlags, value);
  +	    else
  +	      __setModifierFlag(modifierFlags, value);
   	    value = __input._increment();
   	  }
   	  __modifierFlags[0] |= posFlags[0];
  
  
  

--
To unsubscribe, e-mail:   <mailto:oro-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:oro-dev-help@jakarta.apache.org>


Mime
View raw message