Skip to content

The ASN.1 lexer seems to not accept negative integers #3014

@ValentinHeinisch

Description

@ValentinHeinisch

Hi,

I noticed that the asn.1 parser doesn't seem to accept negative integer definitions.

When lexing this snippet:

Temperature ::= INTEGER (-50..150) -- Temperature in Celsius

the "-" before 50 is marked as an error: Demo page

Since asn.1 integers can be negative and positive I assume this is an error.

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