Fixed the problem with a branch to "0b" that was not parsed by llvm-mc
authorKevin Enderby <enderby@apple.com>
Tue, 18 May 2010 17:51:35 +0000 (17:51 +0000)
committerKevin Enderby <enderby@apple.com>
Tue, 18 May 2010 17:51:35 +0000 (17:51 +0000)
commitd8ba292c9bc4e0927ea21304d735e27a43d296a6
tree85e558f4392ced53425d550050c14c47928d495e
parent6a8d2c6119aeb32ac914c3dd9b1263ebd0baa51f
Fixed the problem with a branch to "0b" that was not parsed by llvm-mc
correctly.  The Lexer was incorrectly eating the newline casusing it to branch
to address 0.  Updated the test case to use a "0:" label and a branch to "0b".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104038 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmLexer.cpp
test/MC/MachO/direction_labels.s