Skip to content

Commit 8ce9eda

Browse files
committed
Fix exception
1 parent 891ab6c commit 8ce9eda

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,7 @@ TOKEN_MGR_DECLS : {
469469
}
470470
}
471471
} catch (java.io.IOException e) {
472-
throw new TokenMgrException("Unterminated dollar quoted string",
473-
TokenMgrException.LEXICAL_ERROR);
472+
reportError(Math.max(closingQuote.length(), input_stream.GetImage().length()));
474473
}
475474
}
476475
}

0 commit comments

Comments
 (0)