Skip to content

Repetitions and Predicate Problems #269

@avlec

Description

@avlec

Building queries like the following example which is for C++. Where the storage_class_specifier has zero or one (?) OR zero or more (*) matches throws a rust panic. Error: (rust-panic "Any { .. }") Note that one or more (+) works. I have only tested it for this case where there will be either one or none.

(
    (declaration (storage_class_specifier)? @storage) @test
    (.not-eq? @storage "")
)

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