Skip to content

Agda lexer interprets ' in module name as error #2163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fgaz opened this issue Jun 16, 2022 · 1 comment
Closed

Agda lexer interprets ' in module name as error #2163

fgaz opened this issue Jun 16, 2022 · 1 comment

Comments

@fgaz
Copy link

fgaz commented Jun 16, 2022

This Agda code shouldn't result in any lexing errors, A' and B' are valid module names:

module A' where

module B' = A'

But pygments interprets the ' as start of character:

https://pygments.org/demo/?lexer=agda&style=default&formatter=html&code=module+A%27+where%0A%0Amodule+B%27+%3D+A%27

image
image

@fgaz fgaz changed the title Agda lexer interprets ' after module name as error Agda lexer interprets ' in module name as error Jun 16, 2022
@birkenfeld
Copy link
Member

Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants