]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] cmd/asm: add a couple of error messages for things like $exit
authorRob Pike <r@golang.org>
Mon, 9 Feb 2015 19:45:36 +0000 (11:45 -0800)
committerRob Pike <r@golang.org>
Mon, 9 Feb 2015 21:08:32 +0000 (21:08 +0000)
commitb6fd455c0da24e747fc0faa08550f460a615145e
tree1aff3470c0d91bfe928e691fd036c71ad2747d46
parentcb19a20121cc9f5171df7bf537f6f741080b5a60
[dev.cc] cmd/asm: add a couple of error messages for things like $exit

These illegal addressing modes were caught downstream in the assembler
or link library, but we can give a better error message upstream.

Change-Id: Ib30ef4d94d5d8d44900276592edd7997e6f91e55
Reviewed-on: https://go-review.googlesource.com/4260
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/asm/parse.go