mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[MC] Don't capitalize a floating point diagnostic
This commit is contained in:
parent
36b99228ee
commit
72e39e686f
@ -80,7 +80,7 @@ AsmToken AsmLexer::LexFloatLiteral() {
|
||||
++CurPtr;
|
||||
|
||||
if (*CurPtr == '-' || *CurPtr == '+')
|
||||
return ReturnError(CurPtr, "Invalid sign in float literal");
|
||||
return ReturnError(CurPtr, "invalid sign in float literal");
|
||||
|
||||
// Check for exponent
|
||||
if ((*CurPtr == 'e' || *CurPtr == 'E')) {
|
||||
|
@ -88,7 +88,7 @@
|
||||
|
||||
# CHECK-ERROR: :[[#@LINE+1]]:12: error: unexpected token
|
||||
.double 1e1e
|
||||
# CHECK-ERROR: :[[#@LINE+1]]:9: error: Invalid sign in float literal
|
||||
# CHECK-ERROR: :[[#@LINE+1]]:9: error: invalid sign in float literal
|
||||
.double 2.+1
|
||||
|
||||
# CHECK: .long 1310177520
|
||||
|
Loading…
Reference in New Issue
Block a user