good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
a0638767
Commit
a0638767
authored
7 years ago
by
hydai
Committed by
Péter Szilágyi
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
core/asm: fixed typo (labal -> label) (#16313)
parent
62bc179b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/asm/compiler.go
+1
-1
1 addition, 1 deletion
core/asm/compiler.go
core/asm/lexer.go
+1
-1
1 addition, 1 deletion
core/asm/lexer.go
with
2 additions
and
2 deletions
core/asm/compiler.go
+
1
−
1
View file @
a0638767
...
...
@@ -122,7 +122,7 @@ func (c *Compiler) next() token {
}
// compile line compiles a single line instruction e.g.
// "push 1", "jump @lab
a
l".
// "push 1", "jump @lab
e
l".
func
(
c
*
Compiler
)
compileLine
()
error
{
n
:=
c
.
next
()
if
n
.
typ
!=
lineStart
{
...
...
This diff is collapsed.
Click to expand it.
core/asm/lexer.go
+
1
−
1
View file @
a0638767
...
...
@@ -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 lab
a
l is found
label
// label is emitted when a lab
e
l 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment