Skip to content

parsers: lines: display "ignoring (...)" for all unrecognized lines#460

Merged
bosd merged 1 commit intoinvoice-x:masterfrom
rmilecki:lines-print-all-unrecognized-lines
Feb 5, 2023
Merged

parsers: lines: display "ignoring (...)" for all unrecognized lines#460
bosd merged 1 commit intoinvoice-x:masterfrom
rmilecki:lines-print-all-unrecognized-lines

Conversation

@rmilecki
Copy link
Copy Markdown
Collaborator

@rmilecki rmilecki commented Feb 3, 2023

This is very helpful for debugging problems with parsing lines.

This is very helpful for debugging problems with parsing lines.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
@rmilecki
Copy link
Copy Markdown
Collaborator Author

rmilecki commented Feb 3, 2023

This addresses:

This diff looks quite big, but the real change is if first_line_found is False:if first_line_found is True: and comment update. The rest of diff lines are whitespace changes (indention level).

To review this pull request easily please use git's option -w or GitHub's setting of "Diff view" called "Hide whitespace"

@rmilecki
Copy link
Copy Markdown
Collaborator Author

rmilecki commented Feb 3, 2023

See actual changes in this pull request:
image

Copy link
Copy Markdown
Collaborator

@bosd bosd left a comment

Choose a reason for hiding this comment

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

Was afraid this would affect the results.
Tests are still passing, so LGTM

@bosd bosd merged commit 55b9bd5 into invoice-x:master Feb 5, 2023
@rmilecki rmilecki mentioned this pull request Feb 6, 2023
@rmilecki rmilecki deleted the lines-print-all-unrecognized-lines branch May 11, 2023 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants