Scanner: Generate error on inbalanced RLO/LRO/PDF override markers.

This commit is contained in:
Christian Parpart
2020-12-15 18:40:51 +01:00
committed by chriseth
parent 67b7267735
commit 381c63ec99
31 changed files with 333 additions and 7 deletions
@@ -0,0 +1,9 @@
contract C {
function f() public pure
{
// RLO
bytes memory m = unicode"overflow ";
}
}
// ----
// ParserError 8936: (88-108): Mismatching directional override markers in comment or string literal.