Skip to content

fixed protobuf namespace tokenization (namespaces can include .)#2929

Merged
birkenfeld merged 1 commit intopygments:masterfrom
pseusys:protobuf-namespace-tokenization-fix
Feb 20, 2026
Merged

fixed protobuf namespace tokenization (namespaces can include .)#2929
birkenfeld merged 1 commit intopygments:masterfrom
pseusys:protobuf-namespace-tokenization-fix

Conversation

@pseusys
Copy link
Copy Markdown
Contributor

@pseusys pseusys commented Jul 10, 2025

In protobuf syntax, namespace definitions are allowed to be separated by "." and actually this feature is used in many generators. It would be nice if it was implemented correctly :)

@birkenfeld
Copy link
Copy Markdown
Member

Thanks for the fix!

@birkenfeld birkenfeld merged commit 1fa7ace into pygments:master Feb 20, 2026
@Anteru Anteru added this to the 2.20.0 milestone Mar 26, 2026
@Anteru Anteru added the A-lexing area: changes to individual lexers label Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-lexing area: changes to individual lexers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants