You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many languages support splitting string literals overs multiple lines. Some require a special token between them.
I'd propose that parsing (hex) string literals would allow " as the next token and start concatenating the literals. Any whitespace, including new lines, would be allowed between the two " tokens.
E.g. bytes tmp = hex"00112233" "44556677"; would be equivalent to hex"0011223344556677".
The text was updated successfully, but these errors were encountered:
Many languages support splitting string literals overs multiple lines. Some require a special token between them.
I'd propose that parsing (hex) string literals would allow
"
as the next token and start concatenating the literals. Any whitespace, including new lines, would be allowed between the two"
tokens.E.g.
bytes tmp = hex"00112233" "44556677";
would be equivalent tohex"0011223344556677"
.The text was updated successfully, but these errors were encountered: