Skip to content

Commit

Permalink
core/asm: change order of items in stringtokenTypes (ethereum#24153)
Browse files Browse the repository at this point in the history
This orders the items in slice definition same as the enum values.
  • Loading branch information
zgfzgf authored and JacekGlen committed May 26, 2022
1 parent bfe36b8 commit f782999
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/asm/lexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ func (it tokenType) String() string {

var stringtokenTypes = []string{
eof: "EOF",
lineStart: "new line",
lineEnd: "end of line",
invalidStatement: "invalid statement",
element: "element",
lineEnd: "end of line",
lineStart: "new line",
label: "label",
labelDef: "label definition",
number: "number",
Expand Down

0 comments on commit f782999

Please sign in to comment.