mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
core/asm: fixed typo (labal -> label) (#16313)
This commit is contained in:
parent
62bc179bb9
commit
a063876749
2 changed files with 2 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ func (c *Compiler) next() token {
|
||||||
}
|
}
|
||||||
|
|
||||||
// compile line compiles a single line instruction e.g.
|
// compile line compiles a single line instruction e.g.
|
||||||
// "push 1", "jump @labal".
|
// "push 1", "jump @label".
|
||||||
func (c *Compiler) compileLine() error {
|
func (c *Compiler) compileLine() error {
|
||||||
n := c.next()
|
n := c.next()
|
||||||
if n.typ != lineStart {
|
if n.typ != lineStart {
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ const (
|
||||||
lineEnd // emitted when a line ends
|
lineEnd // emitted when a line ends
|
||||||
invalidStatement // any invalid statement
|
invalidStatement // any invalid statement
|
||||||
element // any element during element parsing
|
element // any element during element parsing
|
||||||
label // label is emitted when a labal is found
|
label // label is emitted when a label is found
|
||||||
labelDef // label definition is emitted when a new label is found
|
labelDef // label definition is emitted when a new label is found
|
||||||
number // number is emitted when a number is found
|
number // number is emitted when a number is found
|
||||||
stringValue // stringValue is emitted when a string has been found
|
stringValue // stringValue is emitted when a string has been found
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue