Skip to content

Commit 8bf4448

Browse files
committed
update to jparsec 3.1
1 parent d725ee5 commit 8bf4448

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

org.coreasm.engine/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
<dependency>
129129
<groupId>org.jparsec</groupId>
130130
<artifactId>jparsec</artifactId>
131-
<version>3.0</version>
131+
<version>3.1</version>
132132
</dependency>
133133
<dependency>
134134
<groupId>concurrent</groupId>

org.coreasm.engine/src/org/coreasm/engine/parser/JParsecParser.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,7 @@ public void parseSpecification() throws ParserException {
185185
}
186186
logger.error(errorLogMsg);
187187

188-
throw new ParserException(msg,
189-
new CharacterPosition(pe.getLocation().line, pe.getLocation().column));
188+
throw new ParserException(msg, new CharacterPosition(pe.getLine(), pe.getColumn()));
190189
}
191190
throw new ParserException(e);
192191
}

org.coreasm.engine/src/org/coreasm/engine/parser/ParserException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public ParserException(Throwable cause) {
5959
showEncountered(buf, err.getEncountered());
6060
}
6161
this.msg = buf.toString();
62-
pos = new CharacterPosition(pcause.getLocation().line, pcause.getLocation().column);
62+
pos = new CharacterPosition(pcause.getLine(), pcause.getColumn());
6363
} else {
6464
initCause(cause);
6565
pos = CharacterPosition.NO_POSITION;

0 commit comments

Comments
 (0)