Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
click/lexer: fix Compound::expand_into sanity check
The check here appears to be intended to make sure that we only connect if both indexes are valid; specifically, idx can be -1. Unfortunately, it checks (*cp)[0] twice. Instead, check (*cp)[1] too. Thanks, American Fuzzy Lop Change-Id: I5cdeb45ac0cef5bbb0a18c6f19b4540df8007bfe
- Loading branch information