Skip to content

Commit ee885ef

Browse files
committed
Исправлено восстановление
1 parent 7ad8319 commit ee885ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/annimon/ownlang/parser/Parser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private int getErrorLine() {
8989

9090
private void recover() {
9191
int preRecoverPosition = pos;
92-
for (int i = preRecoverPosition; i < size; i++) {
92+
for (int i = preRecoverPosition; i <= size; i++) {
9393
pos = i;
9494
try {
9595
statement();

0 commit comments

Comments
 (0)