-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: ignore leading and trailing whitespace
Leading and trailing whitespace is now stripped before parsing the line. getline returns line length, so strlen calls have been replaced with that. Also, getline now runs until -1 is returned. Additionally, the entire line (whitespace stripped) is now printed to stderr when mako fails to parse an option.
- Loading branch information
1 parent
aafbc91
commit 77f8164
Showing
1 changed file
with
34 additions
and
10 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