summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/MC/AsmParser/exprs.s8
-rw-r--r--llvm/tools/llvm-mc/AsmLexer.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/MC/AsmParser/exprs.s b/llvm/test/MC/AsmParser/exprs.s
index 472b4cfe8ed..1627d9eb203 100644
--- a/llvm/test/MC/AsmParser/exprs.s
+++ b/llvm/test/MC/AsmParser/exprs.s
@@ -1,8 +1,8 @@
-# FIXME: For now this test just checks that llvm-mc works. Once we have .macro,
-# .if, and .abort we can write a better test (without resorting to miles of
-# greps).
+// FIXME: For now this test just checks that llvm-mc works. Once we have .macro,
+// .if, and .abort we can write a better test (without resorting to miles of
+// greps).
-# RUN: llvm-mc %s > %t
+// RUN: llvm-mc %s > %t
.byte !1 + 2
.byte !0
diff --git a/llvm/tools/llvm-mc/AsmLexer.h b/llvm/tools/llvm-mc/AsmLexer.h
index 30ab2664d25..5d0002d4d85 100644
--- a/llvm/tools/llvm-mc/AsmLexer.h
+++ b/llvm/tools/llvm-mc/AsmLexer.h
@@ -108,7 +108,7 @@ private:
asmtok::TokKind LexIdentifier();
asmtok::TokKind LexPercent();
asmtok::TokKind LexSlash();
- asmtok::TokKind LexHash();
+ asmtok::TokKind LexLineComment();
asmtok::TokKind LexDigit();
asmtok::TokKind LexQuote();
};
OpenPOWER on IntegriCloud