[sudo-commits] sudo changeset 12572:0ca11ad5b7f3

Todd C. Miller Todd.Miller at sudo.ws
Sun Aug 16 15:13:00 MDT 2020


changeset:	12572:0ca11ad5b7f3 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/0ca11ad5b7f3
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sun Aug 16 06:42:15 2020 -0600

Log Message:
	Add NOMATCH token and use it in the lexer for an unmatched pattern.
	The ERROR token is now only used for errors detected by the lexer
	and for which we've already printed an error.  This lets us remove
	the hack in sudoerserror() and just check last_token to determine
	whether or not to display the error.

diffstat:

 plugins/sudoers/gram.c |  469 ++++++++++++++++++++++++------------------------
 plugins/sudoers/gram.h |   25 +-
 plugins/sudoers/gram.y |    9 +-
 plugins/sudoers/toke.c |   13 +-
 plugins/sudoers/toke.l |    7 +-
 5 files changed, 260 insertions(+), 263 deletions(-)



More information about the sudo-commits mailing list