aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhydai <z54981220@gmail.com>2018-03-14 17:59:06 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-03-14 17:59:06 +0800
commita06387674983d93453b800380f6f55c6406f51e3 (patch)
tree35a443bf1a9c9090555a4c9bc00755971da74849
parent62bc179bb964e8852ff33f8fcebc916bbf938424 (diff)
downloaddexon-a06387674983d93453b800380f6f55c6406f51e3.tar.gz
dexon-a06387674983d93453b800380f6f55c6406f51e3.tar.zst
dexon-a06387674983d93453b800380f6f55c6406f51e3.zip
core/asm: fixed typo (labal -> label) (#16313)
-rw-r--r--core/asm/compiler.go2
-rw-r--r--core/asm/lexer.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/asm/compiler.go b/core/asm/compiler.go
index 318c4e4d8..1b9025a54 100644
--- a/core/asm/compiler.go
+++ b/core/asm/compiler.go
@@ -122,7 +122,7 @@ func (c *Compiler) next() token {
}
// compile line compiles a single line instruction e.g.
-// "push 1", "jump @labal".
+// "push 1", "jump @label".
func (c *Compiler) compileLine() error {
n := c.next()
if n.typ != lineStart {
diff --git a/core/asm/lexer.go b/core/asm/lexer.go
index 405499950..4d62159e5 100644
--- a/core/asm/lexer.go
+++ b/core/asm/lexer.go
@@ -48,7 +48,7 @@ const (
lineEnd // emitted when a line ends
invalidStatement // any invalid statement
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
number // number is emitted when a number is found
stringValue // stringValue is emitted when a string has been found
21:06:42 +0800'>2018-10-061-2/+2 * Update WWWSunpoet Po-Chuan Hsieh2018-05-281-1/+1 * Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.Mathieu Arnold2016-04-011-5/+5 * Change the way Perl modules are installed, update the default Perl to 5.18.Mathieu Arnold2014-11-262-6/+1 * Support STAGEDIR.Vanilla I. Shu2013-11-072-6/+5 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...Baptiste Daroussin2013-09-211-0/+1 * - Use single space after WWW:Sunpoet Po-Chuan Hsieh2013-08-291-1/+1 * - Convert to new perl frameworkMathieu Arnold2013-08-031-1/+2 * Update to 0.30.Anton Berezin2013-01-273-13/+14 * - Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} orSteve Wills2012-06-111-1/+1 * - Remove SITE_PERL from *_DEPENDSFrederic Culot2012-06-041-1/+1 * - Cleaning MD5 in perl@'s portsPhilippe Audeoud2011-05-171-1/+0 * - only 13% of the p5- ports embed @comment $FreeBSD$:Philip M. Gollucci2010-09-241-1/+0 * - Update to 0.22Philippe Audeoud2009-10-132-4/+4 * - Update to 0.21Martin Wilke2009-03-212-4/+4 * - Update to 0.20Philippe Audeoud2008-11-133-4/+5 * Update to 0.19Mathieu Arnold2008-05-292-4/+4 * - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_C...Marcelo Araujo2008-04-171-2/+1