Skip to content

Commit

Permalink
fix GenerateDoc.mos
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed May 19, 2016
1 parent f10487d commit c5b68a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Examples/GenerateDoc.mos
Expand Up @@ -58,12 +58,13 @@ then
package TestGenerateDoc
annotation(Documentation(info=\\\"<html>TestGenerateDoc HTML</html>\\\"));
end TestGenerateDoc;\");"); getErrorString();
shouldEcho := false;
else
// should we generate documentation for OM built-in functions?
genBuiltin := false;
// should we generate MetaModelica documentation?
genMetaModelica := false;
// should we echo?
shouldEcho := false;
else
loadModel(Modelica); getErrorString();
writeFile("loadModel.mos",sum("if loadModel(" + lib + ") then true else if loadModel(" + lib + ",languageStandard=\"2.x\") then true else loadModel(" + lib + ",languageStandard=\"1.x\");getErrorString();\n" for lib in getAvailableLibraries())); getErrorString();
end if;
Expand Down

0 comments on commit c5b68a9

Please sign in to comment.