Skip to content
  • Christian Hergert's avatar
    contextengine: clear invalid ranges if BOM is found · 54e48e9c
    Christian Hergert authored
    If we came across a BOM at the beginning of a buffer, then we will have
    an invalid range before we check for BOM. In that case, we need to to
    clear it before we proceed or some assertions (such as invalid range == 1)
    will not be met.
    
    Fixes #30
    54e48e9c