]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Fix parser bug where "type" was misinterpreted as a keyword inside a match (#3950)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Tue, 17 Oct 2023 07:59:15 +0000 (00:59 -0700)
committerGitHub <noreply@github.com>
Tue, 17 Oct 2023 07:59:15 +0000 (00:59 -0700)
commitbb588073ab286a9f1f8d839ab2cebe13011dd22c
tree948ae52f17d32591cb31fcf4f6a3a4ca948d543a
parent722735d20ebdc66c0da0e0df7658293455694500
Fix parser bug where "type" was misinterpreted as a keyword inside a match (#3950)

Fixes #3790

Slightly hacky, but I think this is correct and it should also improve performance somewhat.
CHANGES.md
src/blib2to3/pgen2/parse.py
tests/data/cases/pattern_matching_complex.py
tests/data/cases/type_aliases.py