Skip to content

Commit

Permalink
Merge pull request #56 from tom-writes-code/bash-script
Browse files Browse the repository at this point in the history
immediate fix to make snippets work again
  • Loading branch information
tom-writes-code authored Jul 12, 2024
2 parents 2e50432 + 299a977 commit 60e0a4e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions rpgle/REPL_PSEU.SQLRPGLE
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ dcl-proc prepareFetchLinesOfPseudoCode export;
and %upper(sourceLocation.file) = 'REPLSRC'
and %upper(sourceLocation.member) = 'REPLSRC'
)) or (
%passed(iSourceLocation) and sourceLocation.isUserDirected = *on
%passed(iSourceLocation)
and sourceLocation.isUserDirected = *on
and sourceLocation.snippetName = *blanks
);

monitor;
Expand Down Expand Up @@ -212,7 +214,11 @@ dcl-proc fetchLineOfPseudoCode export;
end-pi;

if not replCode
or (%passed(iSourceLocation) and iSourceLocation.isUserDirected);
or (
%passed(iSourceLocation)
and iSourceLocation.isUserDirected
and iSourceLocation.snippetName = *blanks
);

lineOfCode.line = 0;
exec sql
Expand Down

0 comments on commit 60e0a4e

Please sign in to comment.