-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing failures management #23
Labels
Milestone
Comments
Adhara3
added
enhancement
New feature or request
public API
This request involves user API
labels
Jan 16, 2023
Interesting proposal. Looks like a way to provide consistency checks. I would say if there is no issue on increasing too much the parsing time, i mean why not. |
A successful parsing will pay no extra time A |
Whitehouse112
added a commit
to Whitehouse112/DbcParser
that referenced
this issue
Aug 21, 2023
Added observer to listen for parsing failures. Code clean up.
Whitehouse112
added a commit
to Whitehouse112/DbcParser
that referenced
this issue
Aug 24, 2023
Added parsing failures management for each line parser. Created silent and simple failure observer classes
Whitehouse112
added a commit
to Whitehouse112/DbcParser
that referenced
this issue
Aug 24, 2023
Added parsing failure tests. Removed old and no more valid tests
Whitehouse112
added a commit
to Whitehouse112/DbcParser
that referenced
this issue
Aug 24, 2023
EFeru
pushed a commit
that referenced
this issue
Sep 11, 2023
* #23 Parsing failures management Added observer to listen for parsing failures. Code clean up. * #23 Added parsing failures management for each line parser Added parsing failures management for each line parser. Created silent and simple failure observer classes * #23 Added parsing failure tests Added parsing failure tests. Removed old and no more valid tests * #23 Added parsing failure observer in Demo application * #41 EnumCustomProperty parsing fails if more than one white-space character is used as separator. Updated and added some test EnumCustomProperty parsing fails if more than one white-space chracter is used as separator. Updated and added some test, code clean up. * #42 Bugfixed on NS definition Now every NS definition at the top of a file is ignored
Whitehouse112
added a commit
to Whitehouse112/DbcParser
that referenced
this issue
Sep 13, 2023
Added support for signed integer in VAL_ regex. Fixed bug in EFeru#41 preventing custom definition from being correctly parsed
Whitehouse112
added a commit
to Whitehouse112/DbcParser
that referenced
this issue
Sep 13, 2023
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Today we do silently swallow errors when parsing.
My idea is to provide an optional
IParsingObserver
which will allow user to react (or at least know!) to errors.Quick example
Hope you get the idea.
A
The text was updated successfully, but these errors were encountered: