Added label type

This commit is contained in:
Eduard Urbach 2025-03-13 16:57:13 +01:00
parent f4b0020c49
commit 14a867bc8b
Signed by: eduard
GPG key ID: 49226B848C78F6C8
32 changed files with 102 additions and 63 deletions

View file

@ -1,11 +1,14 @@
package eval
import "git.urbach.dev/cli/q/src/types"
import (
"git.urbach.dev/cli/q/src/asm"
"git.urbach.dev/cli/q/src/types"
)
// Label is a named pointer to a code or data section.
type Label struct {
Typ types.Type
Label string
Label asm.Label
}
func (v *Label) String() string {