[llvm-commits] [llvm] r168138 - /llvm/trunk/lib/AsmParser/LLLexer.cpp

Craig Topper craig.topper at gmail.com
Thu Nov 15 22:10:48 PST 2012


Author: ctopper
Date: Fri Nov 16 00:10:48 2012
New Revision: 168138

URL: http://llvm.org/viewvc/llvm-project?rev=168138&view=rev
Log:
Fix typo in a comment.

Modified:
    llvm/trunk/lib/AsmParser/LLLexer.cpp

Modified: llvm/trunk/lib/AsmParser/LLLexer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLLexer.cpp?rev=168138&r1=168137&r2=168138&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLLexer.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLLexer.cpp Fri Nov 16 00:10:48 2012
@@ -744,7 +744,7 @@
 ///    HexFP128Constant  0xL[0-9A-Fa-f]+
 ///    HexPPC128Constant 0xM[0-9A-Fa-f]+
 lltok::Kind LLLexer::LexDigitOrNegative() {
-  // If the letter after the negative is a number, this is probably a label.
+  // If the letter after the negative is not a number, this is probably a label.
   if (!isdigit(TokStart[0]) && !isdigit(CurPtr[0])) {
     // Okay, this is not a number after the -, it's probably a label.
     if (const char *End = isLabelTail(CurPtr)) {





More information about the llvm-commits mailing list