jj/lib
Yuya Nishihara 45c4734b52 revset: fix parsing of concatenated-identifier in expression
Previously an expression 'foo-bar-' failed to parse because

 1. try first rule: 'foo-bar-' matches (identifier_part+ ~ '-')+, but the
    trailing '' doesn't match identifier_part+
 2. fall back to second rule: 'foo' matches identifier_part+
    => (identifier 'foo')

Instead, we need to consume as much (identifier_part ~ '-' ~ ...) as possible
before falling back to the identifier_part rule.

I think the trailing + of identifier_part+ is redundant, so removed it as
well.
2022-10-06 21:56:41 +09:00
..
src revset: fix parsing of concatenated-identifier in expression 2022-10-06 21:56:41 +09:00
tests
build.rs
Cargo.toml cargo: enable only config crate's toml feature 2022-10-05 22:12:12 -07:00