Skip to content

Commit d845ca7

Browse files
committed
set hex string precedence
1 parent 5e70aef commit d845ca7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Binary/Hex.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ where getC (c : Char) : UInt8 :=
8181
else if ('a' ≤ c && c ≤ 'f') then (c.val - 'a'.val + 10).toUInt8
8282
else unreachable!
8383

84-
syntax (name := hexStrStx) "hex!" hexStr : term
84+
syntax:max (name := hexStrStx) "hex!" hexStr : term
8585

8686
@[term_elab hexStrStx]
8787
public meta def elabHexStrStx : TermElab := fun hex _ => do

0 commit comments

Comments
 (0)