summaryrefslogtreecommitdiff
path: root/lib/MC/MCAsmInfo.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-03-24 18:46:34 +0000
committerJim Grosbach <grosbach@apple.com>2011-03-24 18:46:34 +0000
commitd31d304f83f9c8df6870057509414b8d004bc8da (patch)
tree361127d12bd669c49b3adea425e0334ffcb8c147 /lib/MC/MCAsmInfo.cpp
parentb4ac342ea0a416f463f47bf40c0bd7448844e00b (diff)
downloadllvm-d31d304f83f9c8df6870057509414b8d004bc8da.tar.gz
llvm-d31d304f83f9c8df6870057509414b8d004bc8da.tar.bz2
llvm-d31d304f83f9c8df6870057509414b8d004bc8da.tar.xz
Clean up assembly statement separator support.
The MC asm lexer wasn't honoring a non-default (anything but ';') statement separator. Fix that, and generalize a bit to support multi-character statement separators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfo.cpp')
-rw-r--r--lib/MC/MCAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCAsmInfo.cpp b/lib/MC/MCAsmInfo.cpp
index 8199fb2e15..116c007a45 100644
--- a/lib/MC/MCAsmInfo.cpp
+++ b/lib/MC/MCAsmInfo.cpp
@@ -26,7 +26,7 @@ MCAsmInfo::MCAsmInfo() {
LinkerRequiresNonEmptyDwarfLines = false;
MaxInstLength = 4;
PCSymbol = "$";
- SeparatorChar = ';';
+ SeparatorString = ";";
CommentColumn = 40;
CommentString = "#";
LabelSuffix = ":";