Skip to content

Commit 4aa538e

Browse files
committed
generate error message for slotted expressions for TPTP
1 parent 9cc32a4 commit 4aa538e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

PSOA2X/src/main/antlr3/org/ruleml/psoa/psoa2x/psoa2tptp/TPTPConverter.g

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,11 @@ psoa
280280
else
281281
replace(startIdx, 7, "sloterm");
282282
}
283-
append(")");
283+
else
284+
{
285+
throw new TranslatorException("Slotted expressions are not supported");
286+
}
287+
append(")");
284288
}
285289
| // No slot or tuples
286290
{

0 commit comments

Comments
 (0)