Skip to content

Commit 31649f1

Browse files
committed
Update a comment
Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
1 parent b12a37d commit 31649f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/org/opensearch/sql/common/antlr/SyntaxAnalysisErrorListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private String truncateQueryAtOffendingToken(String query, Token offendingToken)
5757

5858
private String getDetails(Recognizer<?, ?> recognizer, String msg, RecognitionException e) {
5959
if (e == null) {
60-
// As official ANTLR says, e=null means parser was able to recover from the error.
60+
// According to the ANTLR docs, e == null means the parser was able to recover from the error.
6161
// In such cases, `msg` includes the raw error information we care about.
6262
return msg;
6363
}

0 commit comments

Comments
 (0)