Show
Ignore:
Timestamp:
20.06.2012 14:54:36 (7 years ago)
Author:
ak19
Message:

REGENERATE-FLEX did not correctly handle substitutions yyreset() and zzRefill(). It incorrectly also changed functions that called these files, which we did not want. The revised 'sed' expression now looks for the declaring type information infront of the function names as a way to differeniate these from other locations, which call the function definitions.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/gli-rsyntax-textarea/src/java/org/fife/ui/rsyntaxtextarea/modes/HTMLTokenMaker.flex

    r25584 r25801  
    316316        s = text; 
    317317        try { 
    318             yyreset(zzReader); 
     318            YYRESETNEW(zzReader); 
    319319            yybegin(state); 
    320320            return yylex(); 
     
    347347     */ 
    348348 
    349     private boolean zzRefill() { 
     349    private boolean ZZREFILLNEW() { 
    350350        return zzCurrentPos>=s.offset+s.count; 
    351351    } 
     
    363363     */ 
    364364 
    365     public final void yyreset(java.io.Reader reader) { 
     365    public final void YYRESETNEW(java.io.Reader reader) { 
    366366        // 's' has been updated. 
    367367        zzBuffer = s.array;