Skip to content

Commit 8b0def7

Browse files
committed
chore: sort arithmetic tokens alphabetically
1 parent ea55846 commit 8b0def7

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

mlir/lib/Tools/PDLL/Parser/Lexer.h

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,18 @@ class Token {
8080
equal,
8181
equal_arrow,
8282
semicolon,
83-
/// Paired punctuation.
83+
84+
/// Arithmetic.
85+
abs,
8486
add,
85-
sub,
86-
mul,
8787
div,
88-
mod,
89-
log2,
9088
exp2,
91-
abs,
89+
log2,
90+
mod,
91+
mul,
92+
sub,
93+
94+
/// Paired punctuation.
9295
less,
9396
greater,
9497
l_brace,

0 commit comments

Comments
 (0)