Skip to content

Commit a219e88

Browse files
committed
Include the ThreeIterator permutation checks
This adds the 3-character Token validation checks. It checks every permutation of characters in the range 0..=0x7F for length one, two, and three. This results in 4,227,328 checks which on my system takes about 22 seconds. On CI it will be much longer, but should be tolerable on a nightly job.
1 parent b0f06ab commit a219e88

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/daily-grammar-check.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
run: |
4141
cargo run --release -p grammar-check -- lex-compare --path rust
4242
cargo run --release -p grammar-check -- lex-compare --permute Token --tool rustc_parse
43+
cargo run --release -p grammar-check -- lex-compare --permute three
4344
4445
- name: Check for existing open issues
4546
if: steps.grammar-check.outcome == 'failure'

0 commit comments

Comments
 (0)