Skip to content

Conversation

jelliottp
Copy link
Contributor

Open to feedback here, this case didn't fit the framework quite as cleanly as I would have liked.

@jelliottp jelliottp requested a review from a team as a code owner July 24, 2023 16:18
Comment on lines 46 to 50
IF previous_row IS NOT INITIAL
AND <token>-row > previous_row
AND <token>-str = '|'.
multiple_lines = abap_true.
ENDIF.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assumes that in "multi-line strings" the first token of the next row will always be the `|``. But we can also have this:

data(str) = |this is a very long string with some { placeholder }| && |and this is the rest of the string with another { placeholder }|.

I think we need to separately track "is there a | used here?" and "is there a linebreak in here?" as two booleans and if both are true, then no finding should be emitted.

Copy link
Contributor Author

@jelliottp jelliottp Jul 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bjoern-jueliger-sap, just pushed a change to do this.

@bjoern-jueliger-sap bjoern-jueliger-sap merged commit eee11ee into SAP:master Aug 11, 2023
@jelliottp jelliottp deleted the text_assembly branch August 16, 2023 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants