Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
cocci: README cosmetic changes.
Alexandre Perrin committed 10 years ago
commit b720f55e090ebffadb9aa28f04d1b688f558f4f2
parent 5bbde26
1 file changed +7 -7
modified tests/cocci/README.md
@@ -1,6 +1,6 @@
> Coccinelle (http://coccinelle.lip6.fr/) is a program matching and
-
> transformation engine which provides the > language SmPL (Semantic Patch
-
> Language) for specifying desired matches and > transformations in C code.
+
> transformation engine which provides the language SmPL (Semantic Patch
+
> Language) for specifying desired matches and transformations in C code.

.cocci files in this directory are copied (and some adapted) from
http://coccinelle.lip6.fr/rules/. the pkg directory contains .cocci files
@@ -21,9 +21,9 @@ Usage
=====
From the pkg's source root (use _libpkg_ or _src_ as `$DIR`):

-
	% spatch -I . -I /usr/include -I /usr/local/include -I libpkg -I src \
-
		-I external/blake2 -I external/expat/lib -I external/include \
-
		-I external/libelf \ -I external/libfetch -I external/libmachista \
-
		-I external/libsbuf -I external/libucl/include -I external/linenoise \
-
		-I external/picosat -I external/sqlite -I external/uthash \
+
	% spatch -I . -I /usr/include -I /usr/local/include -I libpkg -I src       \
+
		-I external/blake2  -I external/expat/lib      -I external/include     \
+
		-I external/libelf  -I external/libfetch       -I external/libmachista \
+
		-I external/libsbuf -I external/libucl/include -I external/linenoise   \
+
		-I external/picosat -I external/sqlite         -I external/uthash      \
		-in_place -sp_file ./tests/cocci/$TESTFILE.cocci -dir $DIR