[lld] r228201 - Add a comment to Lexer::canContinueNumber.

Rui Ueyama ruiu at google.com
Wed Feb 4 13:46:28 PST 2015


Author: ruiu
Date: Wed Feb  4 15:46:27 2015
New Revision: 228201

URL: http://llvm.org/viewvc/llvm-project?rev=228201&view=rev
Log:
Add a comment to Lexer::canContinueNumber.

Modified:
    lld/trunk/lib/ReaderWriter/LinkerScript.cpp

Modified: lld/trunk/lib/ReaderWriter/LinkerScript.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/LinkerScript.cpp?rev=228201&r1=228200&r2=228201&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/LinkerScript.cpp (original)
+++ lld/trunk/lib/ReaderWriter/LinkerScript.cpp Wed Feb  4 15:46:27 2015
@@ -242,6 +242,7 @@ bool Lexer::canStartNumber(char c) const
 }
 
 bool Lexer::canContinueNumber(char c) const {
+  // [xX] = hex marker, [hHoO] = type suffix, [MK] = scale suffix.
   return strchr("0123456789ABCDEFabcdefxXhHoOMK", c);
 }
 





More information about the llvm-commits mailing list