tkobayas commented on code in PR #5677:
URL: 
https://github.com/apache/incubator-kie-drools/pull/5677#discussion_r1482381776


##########
drools-drl/drools-drl-parser/src/main/java/org/drools/drl/parser/DrlParser.java:
##########
@@ -164,10 +166,35 @@ public PackageDescr parse(final boolean isEditor,
                               final InputStream is) throws 
DroolsParserException, IOException {
         this.resource = resource;
         String encoding = resource instanceof InternalResource ? 
((InternalResource) resource).getEncoding() : null;
-
-        lexer = DRLFactory.buildLexer(is, encoding, languageLevel);
-        DRLParser parser = DRLFactory.buildParser(lexer, languageLevel);
-        return compile(isEditor, parser);
+        System.out.println("### parse : languageLevel = " + languageLevel);

Review Comment:
   While running unit tests, you would see STDOUT everytime
   ```
   ### parse : languageLevel = DRL10
   ```
   I print this just to be sure that I'm running DRL10, but if you think it's 
verbose, feel free to remove on your side.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to