parametrized syntax checker

Scan the whole source tree when invoked without parameters, check specified files when a list of files is passed in parameters.