-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor to combine code for reading width and precision
The positional mode code makes this complex enough that it seems worth combining these in one place. Also add an extra test to check that negative variable position is treated as though no precision was set.
- Loading branch information
Chris Foster
committed
Apr 18, 2019
1 parent
b2b6ce3
commit 7fde1c3
Showing
2 changed files
with
61 additions
and
66 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