Skip to content

Commit

Permalink
- getNamedAnnotation now works on ENUMERATION
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10804 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Dec 20, 2011
1 parent f6bff07 commit 6da4e71
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Compiler/Script/Interactive.mo
Expand Up @@ -13090,6 +13090,12 @@ algorithm
then
SOME(res);

case (Absyn.CLASS(body = Absyn.ENUMERATION(comment = SOME(Absyn.COMMENT(SOME(Absyn.ANNOTATION(annlst)),_)))),id,f)
equation
SOME(res) = getNamedAnnotationStr(annlst,id,f);
then
SOME(res);

case (Absyn.CLASS(body = Absyn.OVERLOAD(comment = SOME(Absyn.COMMENT(SOME(Absyn.ANNOTATION(annlst)),_)))),id,f)
equation
SOME(res) = getNamedAnnotationStr(annlst,id,f);
Expand Down

0 comments on commit 6da4e71

Please sign in to comment.