Skip to content

Agda lexer interprets ' in module name as error #2163

Closed

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

Activity

  1. changed the title [-]Agda lexer interprets ' after module name as error[/-] [+]Agda lexer interprets ' in module name as error[/+] on Jun 16, 2022
  2. birkenfeld commented on Jun 17, 2022

    @birkenfeld
    Member

    Thanks for the report!

  3. added a commit that references this issue on Mar 16, 2024
    6eab78a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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