summaryrefslogtreecommitdiff
path: root/splint.sh
diff options
context:
space:
mode:
authorPeter Johnson <peter@tortall.net>2001-11-17 08:33:23 +0000
committerPeter Johnson <peter@tortall.net>2001-11-17 08:33:23 +0000
commit8178f883a5c96d610d527768744fed8df3b7ef60 (patch)
treefa86e5d5f279c1333fba8168e7570058ee80d8bc /splint.sh
parentfc603c2900629735f53ad96acf63aaa5b2af91d0 (diff)
downloadyasm-8178f883a5c96d610d527768744fed8df3b7ef60.tar.gz
Modify so that almost everything passes LCLint with the options in lclint.sh.
This is actually worthwhile; I found and fixed a few bugs/edge cases while doing this. For more information on LCLint, see <http://lclint.cs.virginia.edu/>. svn path=/trunk/yasm/; revision=335
Diffstat (limited to 'splint.sh')
-rwxr-xr-xsplint.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/splint.sh b/splint.sh
new file mode 100755
index 00000000..607bdf75
--- /dev/null
+++ b/splint.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+lclint -exportlocal -predbool -boolops +boolint +charint -retvalint -retvalother +ansilimits -I/usr/local/include -I.. -Iarch/x86 -I. -DHAVE_CONFIG_H -DHAVE_BOGUS_SYS_QUEUE_H -Dlint main.c options.c arch.c bytecode.c errwarn.c expr.c file.c floatnum.c globals.c intnum.c parser.c section.c arch/x86/arch.c arch/x86/bytecode.c arch/x86/expr.c objfmts/dbg/objfmt.c parsers/nasm/parser.c preprocs/raw/preproc.c parsers/nasm/bison.c symrec.c ternary.c