diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-01-02 15:22:28 +0100 |
---|---|---|
committer | Chris Li <chrisl@chrisl-macbook.(none)> | 2009-01-02 13:40:33 -0800 |
commit | 507e53fbd95737f05615d1bd97803ce5457a4872 (patch) | |
tree | 3b900899ee1ecb9993d54c3198313861bf09a6b4 /sparse.1 | |
parent | Clean up Makefile long lines (diff) | |
download | sparse-507e53fbd95737f05615d1bd97803ce5457a4872.tar.gz sparse-507e53fbd95737f05615d1bd97803ce5457a4872.tar.bz2 sparse-507e53fbd95737f05615d1bd97803ce5457a4872.zip |
Add -ftabstop=WIDTH
Make tokenizer aware of tabstops and add the commandline option:
-ftabstop=WIDTH
Set the distance between tab stops. This helps sparse report correct
column numbers in warnings or errors. If the value is less than 1 or
greater than 100, the option is ignored. The default is 8.
With simplifications suggested by Christopher Li and Junio C Hamano.
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'sparse.1')
-rw-r--r-- | sparse.1 | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -269,6 +269,13 @@ Sparse does not issue these warnings by default. .B \-gcc-base-dir \fIdir\fR Look for compiler-provided system headers in \fIdir\fR/include/ and \fIdir\fR/include-fixed/. . +.SH OTHER OPTIONS +.TP +.B \-ftabstop=WIDTH +Set the distance between tab stops. This helps sparse report correct +column numbers in warnings or errors. If the value is less than 1 or +greater than 100, the option is ignored. The default is 8. +. .SH SEE ALSO .BR cgcc (1) . |