Skip to content
  • Alexandre Duret-Lutz's avatar
    hoa: make the parser more resilient to errors · 1d962f79
    Alexandre Duret-Lutz authored
    * src/hoaparse/hoaparse.yy: Improve error recovery,
    and fix location tracking in streams.
    * src/hoaparse/public.hh: Store the last location so
    that the next parse start at the correct position.
    * src/bin/autfilt.cc: Stop parsing a stream on irrecoverable errors.
    * src/tgbatest/hoaparse.test: Adjust tests.
    1d962f79