Skip to content

TimeUnit "ms" impossible #20

@wherget

Description

@wherget

Since I'm currently knee-deep in the parser grammar, I stumbled across this bit here:

    t = <SINGLELETTERTEXT> {
        timeunit = timeunit + t.image ;
        if(!timeunit.equals("ms") && !timeunit.equals("s") && !timeunit.equals("m") && !timeunit.equals("h") && !timeunit.equals("d"))
        throw new ParseException();
    }

where

<SINGLELETTERTEXT: ["a"-"z","A"-"Z"] >

As it turns out, specifying STEP 2ms doesn't work. (ParseException: Encountered " <SINGLELETTERTEXT> "s "").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions