Skip to content

Commit 356bbe3

Browse files
authored
core/asm: change order of items in stringtokenTypes (#24153)
This orders the items in slice definition same as the enum values.
1 parent dddf73a commit 356bbe3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/asm/lexer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ func (it tokenType) String() string {
6868

6969
var stringtokenTypes = []string{
7070
eof: "EOF",
71+
lineStart: "new line",
72+
lineEnd: "end of line",
7173
invalidStatement: "invalid statement",
7274
element: "element",
73-
lineEnd: "end of line",
74-
lineStart: "new line",
7575
label: "label",
7676
labelDef: "label definition",
7777
number: "number",

0 commit comments

Comments
 (0)