aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/asm/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/asm/main.go')
-rw-r--r--src/cmd/asm/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/asm/main.go b/src/cmd/asm/main.go
index fd079a2ccd..149925d23f 100644
--- a/src/cmd/asm/main.go
+++ b/src/cmd/asm/main.go
@@ -74,7 +74,8 @@ func main() {
var failedFile string
for _, f := range flag.Args() {
lexer := lex.NewLexer(f)
- parser := asm.NewParser(ctxt, architecture, lexer)
+ parser := asm.NewParser(ctxt, architecture, lexer,
+ *flags.CompilingRuntime)
ctxt.DiagFunc = func(format string, args ...interface{}) {
diag = true
log.Printf(format, args...)