GP-2913 minor adjustments

This commit is contained in:
James 2022-12-02 19:30:21 +00:00
parent 6a75d6c2ab
commit 6e6cf6d935
2 changed files with 9 additions and 4 deletions

View file

@ -488,6 +488,8 @@ public class SleighCompile extends SleighBase {
}
for (int i = 0; i < tables.size(); ++i) {
if (tables.get(i).isError()) {
reportError(tables.get(i).getLocation(),
"Problem in table: '" + tables.get(i).getName());
errors += 1;
}
if (tables.get(i).getPattern() == null) {