Changeset 1649 for trunk/org.modelica.mdt.omc/src
- Timestamp:
- 09/25/12 09:45:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.omc/src/org/modelica/mdt/omc/OMCProxy.java
r1648 r1649 1571 1571 return res; 1572 1572 } 1573 1574 public List parseF(String fileName) throws ConnectException, UnexpectedReplyException 1575 { 1576 ICompilerResult retval = sendExpression("parseFile(\""+ fileName + "\")", true); 1577 1578 List list = null; 1579 try 1580 { 1581 list = ModelicaParser.parseList(retval.getFirstResult()); 1582 } 1583 catch(ModelicaParserException e) 1584 { 1585 throw new UnexpectedReplyException("Unable to parse list: " 1586 + e.getMessage()); 1587 } 1588 1589 return list; 1590 } 1573 1591 }
Note: See TracChangeset
for help on using the changeset viewer.