sudo-rs icon indicating copy to clipboard operation
sudo-rs copied to clipboard

Add positional information to all parse error messages.

Open squell opened this issue 1 year ago • 0 comments

Some error messages in the sudoers file (e.g. an include file not found, recursive aliases) give correct parse error message but don't reveal the location. We could add this by adding location info in the AST for selected AST types. (Related to issue #806 and PR #815)

Possible exception would be recursive alias definitions (those don't really originate from a single location, and simply identifying the problematic alias gives enough clues on how to fix them in a sudoers config).

squell avatar Jan 15 '24 11:01 squell