mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-25 10:31:02 -05:00
refactor(parser): Clarify precedence levels
This commit is contained in:
parent
8cd9cef88a
commit
ad89736832
1 changed files with 3 additions and 3 deletions
|
@ -183,10 +183,10 @@ mod parser {
|
||||||
// - Make sure you always consume it
|
// - Make sure you always consume it
|
||||||
terminated(uuid_literal, sep1),
|
terminated(uuid_literal, sep1),
|
||||||
terminated(hash_literal, sep1),
|
terminated(hash_literal, sep1),
|
||||||
terminated(hex_literal, sep1),
|
terminated(base64_literal, sep1), // base64 should be quoted or something
|
||||||
terminated(dec_literal, sep1),
|
|
||||||
terminated(ordinal_literal, sep1),
|
terminated(ordinal_literal, sep1),
|
||||||
terminated(base64_literal, sep1),
|
terminated(hex_literal, sep1),
|
||||||
|
terminated(dec_literal, sep1), // Allow digit-prefixed words
|
||||||
terminated(email_literal, sep1),
|
terminated(email_literal, sep1),
|
||||||
terminated(url_literal, sep1),
|
terminated(url_literal, sep1),
|
||||||
terminated(css_color, sep1),
|
terminated(css_color, sep1),
|
||||||
|
|
Loading…
Reference in a new issue