Open dburkart opened 8 years ago
This is half fixed; for commands we now do validation w/ usage strings. For example:
Errors found in "test.sieve":
Incorrect syntax for command "fileinto".
On line 3:
fileinto;
^^^^^^^^
Usage: fileinto [:flags <list-of-flags: string-list>][:copy] <folder: string>
Validation just needs to be added for tests now.
check-sieve used to print out hints after finding syntax issues, but doesn't anymore since I implemented the AST.