If I use /DEFINE and /UNDEFINE in a RPGLE program, the linter tells me that my source is at the incorrect indentation level.
It looks like in tokens.ts it's saying there is a /UNDEFINED directive (note the extra D) but according to the RPG manual I don't see that, just /UNDEFINE.
Here's some example code:
**free
/define #stuff
// do exciting things here
/undefine #stuff
dcl-ds gPSDS psds qualified;
pgmName *proc;
end-ds;
*inlr = *on;
return;
If I use /DEFINE and /UNDEFINE in a RPGLE program, the linter tells me that my source is at the incorrect indentation level.
It looks like in tokens.ts it's saying there is a /UNDEFINED directive (note the extra D) but according to the RPG manual I don't see that, just /UNDEFINE.
Here's some example code: