[sudo-commits] sudo changeset 12660:ba35fe36bd56

Todd C. Miller Todd.Miller at sudo.ws
Sat Sep 26 06:43:02 MDT 2020


changeset:	12660:ba35fe36bd56 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/ba35fe36bd56
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sat Sep 26 06:39:57 2020 -0600

Log Message:
	Use sudoerschar (yychar) instead of last_token.
	The parser already provides a way to examing the last token processed,
	we don't need to add our own.

diffstat:

 plugins/sudoers/gram.c    |    4 +-
 plugins/sudoers/gram.y    |    4 +-
 plugins/sudoers/sudoers.h |    1 -
 plugins/sudoers/toke.c    |  362 ++++++++++++++++++++++-----------------------
 plugins/sudoers/toke.l    |  186 +++++++++++------------
 5 files changed, 272 insertions(+), 285 deletions(-)



More information about the sudo-commits mailing list