8000 Failure to match when a number is followed by a % · Issue #199 · hlorenzi/customasm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Failure to match when a number is followed by a % #199
Open
@EnderShadow

Description

@EnderShadow

I have some asm syntax which allows something like this minimal reproducer to occur, but it fails to compile with a no match found error.

#subruledef a
{
    s{x: u4} => x
}

#subruledef b
{
    %r{x: u4} => x
}

#ruledef
{
    {x: a} {y: b} => x @ y
}

s0 %r0

Changing the rule def and instruction to the following lets it compile successfully.

#ruledef
{
    {x: a}, {y: b} => x @ y
}

s0, %r0

The issue still occurs with --debug-no-optimize-matcher

Metadata

Metadata

Assignees

No one assigned

    Labels

    compromiseIndicates that the current behavior is an unfortunate technical compromiseenhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0