Merge pull request #9927 from a3d4/exclude-overnesting-from-antlr-grammar-tests

Exclude tests with overly deep nesting from antlr grammar checks
This commit is contained in:
chriseth
2020-09-30 11:43:01 +02:00
committed by GitHub
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ do
SOL_FILES+=("$line")
done < <(
grep -riL -E \
"^\/\/ (Syntax|Type|Declaration)Error|^\/\/ ParserError (2837|3716|3997|5333|6275|6281|6933)|^==== Source:" \
"^\/\/ (Syntax|Type|Declaration)Error|^\/\/ ParserError (2837|3716|3997|5333|6275|6281|6933|7319)|^==== Source:" \
"${ROOT_DIR}/test/libsolidity/syntaxTests" \
"${ROOT_DIR}/test/libsolidity/semanticTests" \
)
@@ -22,9 +22,6 @@ contract C {
))))))))))))))))))
))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))));
? // enforce compilation error, otherwise chk_antlr_grammar complains that
// a grammatically correct file does not compile
}
}
// ----