forked from cerc-io/plugeth
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:
parent
dddf73abbd
commit
356bbe343a
@ -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…
Reference in New Issue
Block a user