@abaplint/core 2.115.12 → 2.115.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -108,13 +108,14 @@ class StatementParser {
|
|
|
108
108
|
lazyUnknown(wa) {
|
|
109
109
|
const result = [];
|
|
110
110
|
for (let statement of wa.statements) {
|
|
111
|
-
// dont use CALL METHOD, when executing lazy, it easily gives a Move for the last
|
|
111
|
+
// dont use CALL METHOD, when executing lazy, it easily gives a Move for the last statement if lazy logic is evaluated
|
|
112
112
|
if (statement.get() instanceof _statement_1.Unknown) {
|
|
113
113
|
const concat = statement.concatTokens().toUpperCase();
|
|
114
114
|
if (concat.startsWith("CALL METHOD ") === false
|
|
115
115
|
&& concat.startsWith("RAISE EXCEPTION TYPE ") === false
|
|
116
116
|
&& concat.startsWith("READ TABLE ") === false
|
|
117
117
|
&& concat.startsWith("LOOP AT ") === false
|
|
118
|
+
&& concat.startsWith("SELECT SINGLE ") === false
|
|
118
119
|
&& concat.startsWith("CALL FUNCTION ") === false) {
|
|
119
120
|
for (const { first, second } of this.buildSplits(statement.getTokens())) {
|
|
120
121
|
if (second.length === 1) {
|
package/build/src/registry.js
CHANGED