aboutsummaryrefslogtreecommitdiffstats
path: root/core/asm
diff options
context:
space:
mode:
authorCaesar Chad <BLUE.WEB.GEEK@gmail.com>2018-06-14 21:24:35 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-06-14 21:24:35 +0800
commitec192f18b49907ba8a6eeb5ee33119bab962a274 (patch)
tree182dbbc00757f3d5b3578d731e46520139608d76 /core/asm
parentaa34173f13cb56d01c68682c32c5448b5c59a477 (diff)
downloaddexon-ec192f18b49907ba8a6eeb5ee33119bab962a274.tar
dexon-ec192f18b49907ba8a6eeb5ee33119bab962a274.tar.gz
dexon-ec192f18b49907ba8a6eeb5ee33119bab962a274.tar.bz2
dexon-ec192f18b49907ba8a6eeb5ee33119bab962a274.tar.lz
dexon-ec192f18b49907ba8a6eeb5ee33119bab962a274.tar.xz
dexon-ec192f18b49907ba8a6eeb5ee33119bab962a274.tar.zst
dexon-ec192f18b49907ba8a6eeb5ee33119bab962a274.zip
core/asm: correct comments typo (#16974)
* core/asm/compiler: correct comments typo core/asm/compiler: correct comments typo * Correct comments typo
Diffstat (limited to 'core/asm')
-rw-r--r--core/asm/compiler.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/asm/compiler.go b/core/asm/compiler.go
index c273e7c51..c7a544070 100644
--- a/core/asm/compiler.go
+++ b/core/asm/compiler.go
@@ -51,7 +51,7 @@ func NewCompiler(debug bool) *Compiler {
// the compiler.
//
// feed is the first pass in the compile stage as it
-// collect the used labels in the program and keeps a
+// collects the used labels in the program and keeps a
// program counter which is used to determine the locations
// of the jump dests. The labels can than be used in the
// second stage to push labels and determine the right
@@ -120,7 +120,7 @@ func (c *Compiler) next() token {
return token
}
-// compile line compiles a single line instruction e.g.
+// compileLine compiles a single line instruction e.g.
// "push 1", "jump @label".
func (c *Compiler) compileLine() error {
n := c.next()