Skip to content

Changes and fixes on the Scanner to make it more usable

Compare
Choose a tag to compare
@aaubry aaubry released this 07 Dec 19:25
· 924 commits to master since this release
  • Report the location of comments correctly, when the scanner is created with "skipComments = false"
  • In case of syntax error, do not report an empty range and skip to the next token.
  • Make the scanner and related types serializable, so that the state of the scanner can be captured and then restored later (assuming that the TextReader is also serializable).