core/asm: change order of items in stringtokenTypes (#24153)

This orders the items in slice definition same as the enum values.
pull/24165/head
zgfzgf 3 years ago committed by GitHub
parent dddf73abbd
commit 356bbe343a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      core/asm/lexer.go

@ -68,10 +68,10 @@ func (it tokenType) String() string {
var stringtokenTypes = []string{ var stringtokenTypes = []string{
eof: "EOF", eof: "EOF",
lineStart: "new line",
lineEnd: "end of line",
invalidStatement: "invalid statement", invalidStatement: "invalid statement",
element: "element", element: "element",
lineEnd: "end of line",
lineStart: "new line",
label: "label", label: "label",
labelDef: "label definition", labelDef: "label definition",
number: "number", number: "number",

Loading…
Cancel
Save