Documented syntax checker

This commit is contained in:
Hackerpilot 2013-07-27 15:21:30 +00:00
parent 86b552b312
commit ae0299c38d
1 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,11 @@ source file.
$ dscanner --imports helloworld.d $ dscanner --imports helloworld.d
std.stdio std.stdio
### Syntax Check
The "--syntaxCheck" option prints a listing of any errors or warnings found
while lexing or parsing the given source file. It does not do any semantic
analysis and it does not compile the code.
### Line of Code Count ### Line of Code Count
The "--sloc" or "-l" option prints the number of lines of code in the file. The "--sloc" or "-l" option prints the number of lines of code in the file.
Instead of simply printing the number of line breaks, this counts the number of Instead of simply printing the number of line breaks, this counts the number of