Skip to content

Juxtaposing quotation mark #436

@sergey-goncharov

Description

@sergey-goncharov

This grammar Exp. Exp ::= Ident "'" ; generates a parser that correctly parses x ', but not x' for some reason. I've played with other characters, including other quotation symbols, such as and then both x’ and x ’ are recognized, which is imho the correct behaviour. Any particular reasons, why ' is treated specially (and how to avoid it?)? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    HaskellOCamlbugbuiltinConcerning built-in tokens like Integer, String etc.lexerConcerning the generated lexer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions