Changes between Version 2 and Version 3 of PGEBestPractices

Show
Ignore:
Timestamp:
12/27/08 19:08:38 (13 years ago)
Author:
tewk
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PGEBestPractices

    v2 v3  
    1010<panic> 
    1111}}} 
     12 
     13use whitespace caching 
     14 
     15{{{ 
     16token ws { 
     17  | <?{{  $P0 = get_global '$!ws' 
     18          if null $P0 goto noshort 
     19          $P1 = $P0.'to'() 
     20          $P2 = match.'to'() 
     21          if $P1 != $P2 goto noshort 
     22          .return (1) 
     23        noshort: 
     24          set_global '$!ws', match 
     25          .return (0) 
     26  }}> 
     27  | <!ww> <ws_all>+ 
     28  | <ws_all>* 
     29} 
     30}}}