Changeset 387 for trunk/org.modelica.mdt.omc/src/org
- Timestamp:
- 03/01/06 09:36:39 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.omc/src/org/modelica/mdt/omc/internal/OMCParser.java
r307 r387 113 113 114 114 /* 115 * we expect 5 (on unix) or 6 (on windows) ':' separated parts in a 116 * proper error location string 117 */ 118 if (errorLocationParts.length < 5 || 119 errorLocationParts.length > 6 ) 120 { 121 throw new UnexpectedReplyException("Weird error message from "+ 122 "the compiler: [" + errorLine + "]"); 123 } 124 /* 115 125 * This is the ugliest hack in a long while. Aaaah, nice. 116 126 * … … 119 129 * a separator in error messages, where the line and column 120 130 * numbers are found varies. If on Windows, the info we want 121 * starts at array index 2, and on more normal systems, it starts131 * starts at array index 2, and on Unix, it starts 122 132 * at array index 1. Simply check if the element at index 1 is 123 133 * a digit or something else. Use this to set where in the array
Note: See TracChangeset
for help on using the changeset viewer.