Skip to content

Commit

Permalink
fix: rewrite the production to make it comptaible with the Maven build
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Reichel <[email protected]>
Signed-off-by: manticore-projects <[email protected]>
  • Loading branch information
manticore-projects committed Dec 31, 2024
1 parent 1ad52ff commit 785af16
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
22 changes: 13 additions & 9 deletions src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt
Original file line number Diff line number Diff line change
Expand Up @@ -2117,18 +2117,22 @@ Table Table() #TableName :
//String serverName = null, databaseName = null, schemaName = null, tableName = null;
ObjectNames data = null;
Token fileNameToken = null;
Table table;
}
{
data = RelObjectNames()
{
Table table = new Table(data.getNames());
linkAST(table,jjtThis);
return table;
}
|
fileNameToken = <S_CHAR_LITERAL>
(
data = RelObjectNames()
{
table = new Table(data.getNames());
}
|
fileNameToken = <S_CHAR_LITERAL>
{
table = new Table(fileNameToken.image);
}
)

{
Table table = new Table(fileNameToken.image);
linkAST(table,jjtThis);
return table;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*-
* #%L
* JSQLParser library
* %%
* Copyright (C) 2004 - 2024 JSQLParser
* %%
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
* #L%
*/
package net.sf.jsqlparser.statement.select;

import net.sf.jsqlparser.JSQLParserException;
Expand Down

0 comments on commit 785af16

Please sign in to comment.