]> git.ipfire.org Git - thirdparty/json-c.git/commit
Rename misnomer POP_CHAR to PEEK_CHAR.
authorWilliam Dignazio <slackwill@csh.rit.edu>
Wed, 6 Mar 2013 17:29:33 +0000 (12:29 -0500)
committerWilliam Dignazio <slackwill@csh.rit.edu>
Wed, 6 Mar 2013 17:29:33 +0000 (12:29 -0500)
commitbb492d4d69f50f09191705f7e32204f99ca31c1b
tree670ef19197ad43448cb3b26c3d1ff99b2b35f3b0
parentb64d5ab966c9421ed8bb814dfe29e881b77e4c1d
Rename misnomer POP_CHAR to PEEK_CHAR.
While parsing token data, we use the POP_CHAR macro to 'peek' at
character data. This behaviour is noted in the comments for the macro,
yet the definition is left as 'pop'. Changing to PEEK_CHAR does not
imply that the character being observed is removed.
json_tokener.c