-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
cabana(DBCFile): handle escaped quotes #31889
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks for contributing to openpilot! In order for us to review your PR as quickly as possible, check the following:
|
sshane
reviewed
Mar 16, 2024
incognitojam
changed the title
cabana(DBCFile): handle escaped quotes and empty descriptions
cabana(DBCFile): handle escaped quotes, empty descriptions and preserve header
Mar 16, 2024
Even though this doesn't make much sense, we should still be able to parse it.
incognitojam
force-pushed
the
cabana-dbc-fixes
branch
from
March 17, 2024 15:02
b241082
to
e0f7a53
Compare
incognitojam
changed the title
cabana(DBCFile): handle escaped quotes, empty descriptions and preserve header
cabana(DBCFile): handle escaped quotes, empty descriptions
Mar 17, 2024
I tried to add more things but split them out into seperate PRs |
CANParser doesn't like the empty val descriptions |
incognitojam
changed the title
cabana(DBCFile): handle escaped quotes, empty descriptions
cabana(DBCFile): handle escaped quotes
Mar 19, 2024
Removed the empty val stuff, should be good to go |
cydia2020
pushed a commit
to cydia2020/dodgypilot
that referenced
this pull request
May 14, 2024
* cabana(DBCFile): VAL_ allow empty description Even though this doesn't make much sense, we should still be able to parse it. * cabana(DBCFile): allow escaped quotemarks in signal comment * also message comments * escape/unescape quotes * test empty val desc * test generating DBC with escaped quotes in comment * seperate test case * fix trailing space * remove empty val * trailing whitespace again
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add support for escaped quotemarks inside comments
Verification