File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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".
125125func (c * Compiler ) compileLine () error {
126126 n := c .next ()
You can’t perform that action at this time.
0 commit comments