Skip to content

Agda lexer interprets ' in module name as error #2163

@fgaz

Description

@fgaz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions