Skip to content
Snippets Groups Projects
Commit ab98bb1b authored by Michael Leuschel's avatar Michael Leuschel
Browse files

detect a few more ProB DEFINITIONS

parent afa2622a
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,9 @@ public class UsedDefinitionsFinder extends AbstractASTVisitor implements ASTCons ...@@ -60,7 +60,9 @@ public class UsedDefinitionsFinder extends AbstractASTVisitor implements ASTCons
String defName = opDef.getName().toString(); String defName = opDef.getName().toString();
// GOAL, ANIMATION_FUNCTION, ANIMATION_IMGxx, SET_PREF_xxx, // GOAL, ANIMATION_FUNCTION, ANIMATION_IMGxx, SET_PREF_xxx,
if (defName.equals("GOAL") || defName.startsWith("ANIMATION_FUNCTION") if (defName.equals("GOAL") || defName.startsWith("ANIMATION_FUNCTION")
|| defName.startsWith("ANIMATION_IMG") || defName.startsWith("SET_PREF_")) { || defName.startsWith("ANIMATION_IMG")
|| defName.startsWith("SET_PREF_") || defName.startsWith("HEURISTIC_FUNCTION")
|| defName.startsWith("SCOPE") || defName.startsWith("scope_")) {
usedDefinitions.add(opDef); usedDefinitions.add(opDef);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment