]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] cmd/asm: fix a few minor issues
authorRob Pike <r@golang.org>
Mon, 2 Feb 2015 18:56:41 +0000 (10:56 -0800)
committerRob Pike <r@golang.org>
Mon, 2 Feb 2015 20:04:45 +0000 (20:04 +0000)
commit68475da68d8884ee6b8d7b1d846ed9e3c6477a20
treefe44e220264764b4e17b33d007b57a48fc69b8da
parent5beec6a69952f6d07b49579ce6e71b0aa4cc4399
[dev.cc] cmd/asm: fix a few minor issues

Fix one place where semicolons were not recognized and fix the
pattern match for the syntax of some pseudo ops.
Also clean up a couple of unreachable code pieces.

There is still an undiagnosed bit difference betwen old and new .6
files. TBD.

With these fixes, asm can successfully compile and test the entire tree.
(Verified by
turn off verifyAsm in cmd/go
make.bash
cp $GOROOT/bin/asm $GOROOT/pkg/tool/darwin_amd64/6a
go test -short std
)

Change-Id: I91ea892098f76ef4f129fd2530e0c63ffd8745a9
Reviewed-on: https://go-review.googlesource.com/3688
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/addr/addr.go
src/cmd/asm/internal/asm/asm.go
src/cmd/asm/internal/asm/parse.go
src/cmd/asm/internal/flags/flags.go
src/cmd/asm/internal/lex/input.go
src/cmd/asm/main.go