mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-12 05:56:25 +00:00
llvm-mc: Recognize C++ style comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74463 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
383a4a8db0
commit
1ad7edc212
@ -1,8 +1,8 @@
|
|||||||
# FIXME: For now this test just checks that llvm-mc works. Once we have .macro,
|
// 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
|
// .if, and .abort we can write a better test (without resorting to miles of
|
||||||
# greps).
|
// greps).
|
||||||
|
|
||||||
# RUN: llvm-mc %s > %t
|
// RUN: llvm-mc %s > %t
|
||||||
|
|
||||||
.byte !1 + 2
|
.byte !1 + 2
|
||||||
.byte !0
|
.byte !0
|
||||||
|
@ -108,7 +108,7 @@ private:
|
|||||||
asmtok::TokKind LexIdentifier();
|
asmtok::TokKind LexIdentifier();
|
||||||
asmtok::TokKind LexPercent();
|
asmtok::TokKind LexPercent();
|
||||||
asmtok::TokKind LexSlash();
|
asmtok::TokKind LexSlash();
|
||||||
asmtok::TokKind LexHash();
|
asmtok::TokKind LexLineComment();
|
||||||
asmtok::TokKind LexDigit();
|
asmtok::TokKind LexDigit();
|
||||||
asmtok::TokKind LexQuote();
|
asmtok::TokKind LexQuote();
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user