@@ -725,9 +725,9 @@ create or replace package body ut_utils is
725725 <<scan_line>>
726726 loop
727727 exit when l_remaining is null or l_remaining = '';
728- l_ml_start := instr(l_remaining, '/*');
728+ l_ml_start := instr(l_remaining, '/*');
729729 l_comment_start := instr(l_remaining, '--');
730- l_text_start := instr(l_remaining, '''');
730+ l_text_start := instr(l_remaining, '''');
731731 -- q' always puts ' at l_text_start; just check the char immediately before it
732732 l_eq_text_start := case
733733 when l_text_start > 1 and substr(l_remaining, l_text_start - 1, 1) = 'q'
@@ -736,9 +736,9 @@ create or replace package body ut_utils is
736736 end;
737737 -- Sentinel gc_max_plsql_source_len means "not present"; 32767 is beyond any VARCHAR2 position
738738 l_pos := least(
739- case when l_ml_start > 0 then l_ml_start else gc_max_plsql_source_len end,
739+ case when l_ml_start > 0 then l_ml_start else gc_max_plsql_source_len end,
740740 case when l_comment_start > 0 then l_comment_start else gc_max_plsql_source_len end,
741- case when l_text_start > 0 then l_text_start else gc_max_plsql_source_len end,
741+ case when l_text_start > 0 then l_text_start else gc_max_plsql_source_len end,
742742 case when l_eq_text_start > 0 then l_eq_text_start else gc_max_plsql_source_len end
743743 );
744744
@@ -747,15 +747,15 @@ create or replace package body ut_utils is
747747 exit scan_line;
748748 end if;
749749
750- l_line := l_line || substr(l_remaining, 1, l_pos - 1);
750+ l_line := l_line || substr(l_remaining, 1, l_pos - 1);
751751 l_remaining := substr(l_remaining, l_pos);
752752 -- l_remaining now starts exactly at the token; all branch offsets below are relative to 1
753753 if l_pos = l_eq_text_start then
754754 -- q-quoted string: l_remaining starts at 'q', delimiter is at position 3
755755 l_eq_end_char := translate(substr(l_remaining, 3, 1), gc_open_chars, gc_close_chars);
756756 l_end := instr(l_remaining, l_eq_end_char || '''', 4);
757757 if l_end > 0 then
758- l_line := l_line || substr(l_remaining, 1, l_end + 1);
758+ l_line := l_line || substr(l_remaining, 1, l_end + 1);
759759 l_remaining := substr(l_remaining, l_end + 2);
760760 else
761761 l_line := l_line || l_remaining;
@@ -792,7 +792,7 @@ create or replace package body ut_utils is
792792 end loop;
793793
794794 if l_end > 0 then
795- l_line := l_line || substr(l_remaining, 1, l_end);
795+ l_line := l_line || substr(l_remaining, 1, l_end);
796796 l_remaining := substr(l_remaining, l_end + 1);
797797 else
798798 l_line := l_line || l_remaining;
0 commit comments