Skip to content
Snippets Groups Projects
Commit 55670a30 authored by gmantele's avatar gmantele
Browse files

[ADQL] Fix DEBUG mode in the ADQL parser. It is still by default disabled, but...

[ADQL] Fix DEBUG mode in the ADQL parser. It is still by default disabled, but now, it is possible again to enable it using the function 'setDebug(boolean)'.
parent 843c9960
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -35,7 +35,7 @@
options {
STATIC = false;
IGNORE_CASE = true;
DEBUG_PARSER = false;
DEBUG_PARSER = true;
}
/* ########## */
......@@ -113,6 +113,7 @@ public class ADQLParser {
*/
public ADQLParser(){
this(new java.io.ByteArrayInputStream("".getBytes()));
setDebug(false);
}
/**
......@@ -157,6 +158,7 @@ public class ADQLParser {
*/
public ADQLParser(java.io.InputStream stream, QueryChecker checker, ADQLQueryFactory factory) {
this(stream);
setDebug(false);
queryChecker = checker;
......@@ -194,6 +196,7 @@ public class ADQLParser {
*/
public ADQLParser(java.io.InputStream stream, String encoding, QueryChecker checker, ADQLQueryFactory factory) {
this(stream, encoding);
setDebug(false);
queryChecker = checker;
......@@ -232,6 +235,7 @@ public class ADQLParser {
*/
public ADQLParser(java.io.Reader reader, QueryChecker checker, ADQLQueryFactory factory) {
this(reader);
setDebug(false);
queryChecker = checker;
......@@ -268,6 +272,7 @@ public class ADQLParser {
*/
public ADQLParser(ADQLParserTokenManager tm, QueryChecker checker, ADQLQueryFactory factory) {
this(tm);
setDebug(false);
queryChecker = checker;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment