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
+4 -1
View File
@@ -6,7 +6,10 @@
REPO_ROOT="$(dirname "$0")"/..
cd $REPO_ROOT
WHITESPACE=$(git grep -n -I -E "^.*[[:space:]]+$" | grep -v "test/libsolidity/ASTJSON\|test/libsolidity/ASTRecoveryTests\|test/compilationTests/zeppelin/LICENSE")
WHITESPACE=$(git grep -n -I -E "^.*[[:space:]]+$" |
grep -v "test/libsolidity/ASTJSON\|test/libsolidity/ASTRecoveryTests\|test/compilationTests/zeppelin/LICENSE" |
grep -v -E "test/libsolidity/syntaxTests/comments/unicode_direction_override_1.sol"
)
if [[ "$WHITESPACE" != "" ]]
then