Skip to content
Snippets Groups Projects
  1. May 04, 2011
  2. Apr 29, 2011
  3. Apr 28, 2011
  4. Apr 27, 2011
  5. Apr 26, 2011
    • Adam Wardynski's avatar
      Fix MatchVector::first_token to ignore negative values. · 1270ffe8
      Adam Wardynski authored
      It was looking for minimum value and Position::Nowhere is
      the smallest you can get value-wise (min_int). So if there was
      an empty Match in a vector, first_token for the vector would
      always end up returning Position::Nowhere, which was wrong
      (empty submatches should've been ignored and Position::Nowhere
      returned only if there were no non-empty alternatives).
      1270ffe8