Skip to content

Commit ec192f1

Browse files
caesarchadkaralabe
authored andcommitted
core/asm: correct comments typo (#16974)
* core/asm/compiler: correct comments typo core/asm/compiler: correct comments typo * Correct comments typo
1 parent aa34173 commit ec192f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/asm/compiler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func NewCompiler(debug bool) *Compiler {
5151
// the compiler.
5252
//
5353
// feed is the first pass in the compile stage as it
54-
// collect the used labels in the program and keeps a
54+
// collects the used labels in the program and keeps a
5555
// program counter which is used to determine the locations
5656
// of the jump dests. The labels can than be used in the
5757
// second stage to push labels and determine the right
@@ -120,7 +120,7 @@ func (c *Compiler) next() token {
120120
return token
121121
}
122122

123-
// compile line compiles a single line instruction e.g.
123+
// compileLine compiles a single line instruction e.g.
124124
// "push 1", "jump @label".
125125
func (c *Compiler) compileLine() error {
126126
n := c.next()

0 commit comments

Comments
 (0)