Based on logic for CHAIN, handle if the DELETE opcode has a keylist or parameter in factor1, with a default back to the old logic with just factor 2.
Alternative would be a second switch statement within the DELETE case? Not quite familiar enough with the language to determine 'best practise' in this scenario.
2nd attempt to fix BrianGarland/vscode-rpgfree#58
Based on logic for CHAIN, handle if the DELETE opcode has a keylist or parameter in factor1, with a default back to the old logic with just factor 2.
Alternative would be a second switch statement within the DELETE case? Not quite familiar enough with the language to determine 'best practise' in this scenario.