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

This orders the items in slice definition same as the enum values.
This commit is contained in:
zgfzgf 2021-12-26 21:58:17 +08:00 committed by GitHub
parent dddf73abbd
commit 356bbe343a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",