[sudo-commits] sudo changeset 12914:7ffb0d28862f
Todd C. Miller
Todd.Miller at sudo.ws
Mon Feb 8 13:44:39 MST 2021
changeset: 12914:7ffb0d28862f in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/7ffb0d28862f
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Mon Feb 08 13:43:49 2021 -0700
Log Message:
The lexer now sets an error string before returning ERROR.
The parser will use that when reporting on an ERROR state. This
prevents the lexer from reporting errors about tokens that are not
actually consumed by the parser and we don't have to worry about
both the lexer and the parser reporting errors. It also means we
only get one error per sudoers line.
diffstat:
plugins/sudoers/gram.c | 1009 +++++++++++++++++++++++------------------------
plugins/sudoers/gram.h | 60 +-
plugins/sudoers/gram.y | 15 +-
plugins/sudoers/toke.c | 217 +++++-----
plugins/sudoers/toke.h | 1 +
plugins/sudoers/toke.l | 41 +-
6 files changed, 674 insertions(+), 669 deletions(-)
More information about the sudo-commits
mailing list