Bugfix: report the correct location for wrong opcode.
authorLei Zhang <antiagainst@google.com>
Fri, 21 Aug 2015 15:52:03 +0000 (11:52 -0400)
committerDejan Mircevski <deki@google.com>
Mon, 24 Aug 2015 19:05:08 +0000 (15:05 -0400)
commit977e9bcfc6b83df986c2b8e3fd9b1dabcd1ec352
treec7365a6c3821f69305c8633dfab82f8c3a44680d
parentee87cc2a1e04457a5e419cb27e0c18f5bd4f2e4f
Bugfix: report the correct location for wrong opcode.

Also add more tests for the "<result-id> = <opcode> <operand>.."
format.
source/text.cpp
test/TextToBinary.cpp