mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow splitting string literals into multiple parts
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
contract test {
|
||||
function f() public pure returns (bytes32) {
|
||||
bytes32 escapeCharacters = "foo" "bar" hex"aa";
|
||||
return escapeCharacters;
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// ParserError: (112-119): Expected ';' but got 'HexStringLiteral'
|
||||
Reference in New Issue
Block a user