'yield' reserved as a keyword

This commit is contained in:
Andrey Breslav
2015-12-08 18:31:20 +03:00
parent e6bba01798
commit 434082cadb
123 changed files with 1138 additions and 1073 deletions
@@ -320,7 +320,8 @@ class TestDataBuilder() {
error("The file '$fileName' unexpectedly exists when create test data from scratch.")
}
} else if (!isCreatingFromScratch) {
error("Unexpected new testdata file: '$fileName'. It may cause for example because of bug in stdlib.")
error("Unexpected new testdata file: '$fileName'. It may cause for example because of bug in stdlib.\n" +
"If a new keyword has been added, delete SHOULD_BE_ESCAPED.txt and SHOULD_NOT_BE_ESCAPED.txt")
}
GeneratorsFileUtil.writeFileIfContentChanged(testDataFile, out, false)