diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-15 16:52:06 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-15 16:52:06 +0000 |
commit | 70796ca867132fd8c767301061afb9760cd69167 (patch) | |
tree | c3a11639a30329b96d2237278ea1e983b09e60dc /tools/llvm-dwarfdump | |
parent | 6b6e32d954233ddeeae7f99e358ff85059f1176a (diff) | |
download | external_llvm-70796ca867132fd8c767301061afb9760cd69167.zip external_llvm-70796ca867132fd8c767301061afb9760cd69167.tar.gz external_llvm-70796ca867132fd8c767301061afb9760cd69167.tar.bz2 |
Handle missing newline at EOF more gracefully in MC AsmLexer.
If we see an EOF w/o a preceding end-of-line, return an EndOfStatement
token before returning the Eof token.
Based on patch by Stepan Dyatkovskiy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-dwarfdump')
0 files changed, 0 insertions, 0 deletions