Skip to content

Commit 6a327b1

Browse files
committedDec 26, 2023
1 parent 6395553 commit 6a327b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/test/java/net/sf/jsqlparser/parser/ParserKeywordsUtilsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ public static TreeSet<String> getAllKeywordsUsingJavaCC(File file) throws Except
145145
});
146146
Path jjGrammarFile = jjGrammarOutputDir.resolve("JSqlParserCC.jj");
147147

148-
JavaCCErrors.reInit();
149148
JavaCCParser parser = new JavaCCParser(new java.io.FileInputStream(jjGrammarFile.toFile()));
150149
parser.javacc_input();
151150

152151
// needed for filling JavaCCGlobals
152+
JavaCCErrors.reInit();
153153
Semanticize.start();
154154

155155
// read all the Token and get the String image

0 commit comments

Comments
 (0)
Please sign in to comment.