Skip to content

Releases: vberlier/tokenstream

v1.0.5

15 Sep 05:33
Compare
Choose a tag to compare

Fix

  • Make it possible to use None to disable previous rules (66e468a)

v1.0.4

14 Sep 06:09
Compare
Choose a tag to compare

Fix

  • Add period to all error messages (c1c32b0)

v1.0.3

14 Sep 06:05
Compare
Choose a tag to compare

Fix

  • Don't show token value if it's empty (6337bfd)

v1.0.2

14 Sep 05:41
Compare
Choose a tag to compare

Fix

  • Don't detect indent when the line is blank (175e02e)
  • Properly handle full dedent (04b9dab)
  • Add eof and invalid tokens (264a398)

v1.0.1

08 Sep 02:53
Compare
Choose a tag to compare

Fix

  • Handle non SourceLocation end_location in set_location (f16b378)

v1.0.0

08 Sep 02:14
Compare
Choose a tag to compare

Feature

  • Move SourceLocation into its own module (95aabae)

Breaking

  • remove InvalidSyntax.set_location in favor of the general-purpose setlocation function (95aabae)

v0.7.5

04 Sep 05:52
Compare
Choose a tag to compare

Fix

  • Combine unexpected token patterns when using the choose() method (b8665e8)

v0.7.4

30 Aug 21:49
Compare
Choose a tag to compare

Fix

  • Tweak pattern explanation when there are a lot of token types (0a9e007)

v0.7.3

30 Aug 21:29
Compare
Choose a tag to compare

Fix

  • Properly restore previous regex when syntax changes (aeae860)

v0.7.2

29 Aug 16:27
Compare
Choose a tag to compare

Fix

  • Raise IndexError for negative indices for current and previous tokens (7b5010b)