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

Comments

Projects
None yet
1 participant
@jutzig
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

This comment has been minimized.

Owner

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 in b928986 Jan 28, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment