|
@@ -60,7 +60,7 @@ const onMessage = msg => {
|
|
|
let locations = [];
|
|
let locations = [];
|
|
|
const activeStatementLocations = [];
|
|
const activeStatementLocations = [];
|
|
|
msg.data.statementDetails.precedingStatements.forEach(statement => {
|
|
msg.data.statementDetails.precedingStatements.forEach(statement => {
|
|
|
- handleStatement(statement, locations, msg.data.type, false);
|
|
|
|
|
|
|
+ handleStatement(statement, locations, parser, false);
|
|
|
});
|
|
});
|
|
|
if (msg.data.statementDetails.activeStatement) {
|
|
if (msg.data.statementDetails.activeStatement) {
|
|
|
handleStatement(
|
|
handleStatement(
|
|
@@ -72,7 +72,7 @@ const onMessage = msg => {
|
|
|
locations = locations.concat(activeStatementLocations);
|
|
locations = locations.concat(activeStatementLocations);
|
|
|
}
|
|
}
|
|
|
msg.data.statementDetails.followingStatements.forEach(statement => {
|
|
msg.data.statementDetails.followingStatements.forEach(statement => {
|
|
|
- handleStatement(statement, locations, msg.data.type, false);
|
|
|
|
|
|
|
+ handleStatement(statement, locations, parser, false);
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
// Add databases where missing in the table identifier chains
|
|
// Add databases where missing in the table identifier chains
|