-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INI: Switch to using LPEG for
unpack
Issue: #99 Switching to LPEG should make it easier to properly support the file format. In particular, double quoted lists are now handled properly. Additionally, fewer assumptions regarding values are made. For unquoted values, everything until the EOL is now returned. Within the game files there are cases where trailing comments are not removed. There are cases where they are. How are we supposed to know? For quoted values, both single and double, the quotes are no longer removed. There are cases where some values must be double quoted. Others must be singled quoted. Again, how are we supposed to know? So we make less assumptions, and let the user decide.
- Loading branch information
Showing
2 changed files
with
42 additions
and
45 deletions.
There are no files selected for viewing
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
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