1
0
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:
Fangrui Song 2021-05-04 13:40:26 -07:00
parent 36b99228ee
commit 72e39e686f
2 changed files with 2 additions and 2 deletions

View File

@ -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')) {

View File

@ -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