Skip to content

We accidentally lost the ability to detect ambiguities #438

Description

@katef

This should error:

; echo '/ab?c/ -> $t1; /abc/ -> $t2;' | ./build/bin/lx > /dev/null
; 

The error code is still there (calling fsm_example), but it's never reached.

Equivalent stuff in re(1), I'm suspicious about using just one element from the array in find_first_match_for_end_state(), rather than checking them all:

    return find_match_with_id(end_id_buf[0]);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions