Permit opcode names as labels as long as they are followed by a colon
authorH. Peter Anvin <hpa@zytor.com>
Mon, 5 Nov 2007 05:09:32 +0000 (21:09 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 5 Nov 2007 05:10:42 +0000 (21:10 -0800)
commit9c98769a33c4e8e9acbdce9dde602d8fdaca0e9e
treeea3fa08e77df945d68f9bd94c264ade8349b5d84
parentdd462c8f44ba1256d98b4bc1868c52be79ac5acc
Permit opcode names as labels as long as they are followed by a colon

Permit opcode names to be used as labels if and only if they are
succeeded by a colon.  Opcode names occurring when parsing expressions
are all treated as labels; a leading colon occurred when parsing an
instruction forces a parser restart with the instruction forcibly
treated as an identifier.
eval.c
parser.c
test/insnlbl.asm [new file with mode: 0644]