Skip to content
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

Quotes in comments break the parser #183

Closed
jutzig opened this issue Jan 28, 2014 · 1 comment
Closed

Quotes in comments break the parser #183

jutzig opened this issue Jan 28, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@jutzig
Copy link
Owner

jutzig commented Jan 28, 2014

The parser doesn't work properly if a comment in a properties file contains quotes. E.g

# Processes "display" button
PROC_INST_DISPLAY_IMG=dashb_display_12.gif

gets interpreted as key:
# Processes "display" buttonPROC_INST_DISPLAY_IMG

@ghost ghost assigned jutzig Jan 28, 2014
@jutzig
Copy link
Owner Author

jutzig commented Jan 28, 2014

Turns out the file was corrupted and the comments above actually start with a BOM.
However, there is another bug in the code that makes these faulty lines be considered part of next property key

@jutzig jutzig closed this as completed in b928986 Jan 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant