Skip to content

Commit

Permalink
Update key.core/src/main/java/de/uka/ilkd/key/nparser/builder/TacletP…
Browse files Browse the repository at this point in the history
…Builder.java


More concrete comment where to declare taclet options
  • Loading branch information
WolframPfeifer committed Jun 24, 2024
1 parent ec65160 commit fb3a5b1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -685,8 +685,9 @@ public ChoiceExpr visitOption_expr_prop(KeYParser.Option_expr_propContext ctx) {
String value = ctx.option().value.getText();
String choiceStr = category + ":" + value;
/*
* Make sure that the choice (category and value!) is known to KeY. This prevents from
* accidentally deactivating (parts of) taclets due to non-existing choices (see
* Make sure that the choice (category and value!) is known to KeY, i.e. that it is declared
* in the file `optionsDeclarations.key`. This prevents from accidentally deactivating
* (parts of) taclets due to non-existing choices (see
* https://github.com/KeYProject/key/issues/3352).
*/
if (choices().lookup(choiceStr) == null) {
Expand Down

0 comments on commit fb3a5b1

Please sign in to comment.