mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add check that regular and unicode string literals are well formatted
This commit is contained in:
@@ -349,6 +349,7 @@ TypePointer TypeProvider::forLiteral(Literal const& _literal)
|
||||
case Token::Number:
|
||||
return rationalNumber(_literal);
|
||||
case Token::StringLiteral:
|
||||
case Token::UnicodeStringLiteral:
|
||||
case Token::HexStringLiteral:
|
||||
return stringLiteral(_literal.value());
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user