X-Git-Url: http://git.hcoop.net/bpt/coccinelle.git/blobdiff_plain/190f1acf3b0fa9403bea541654465a6a00bf3693..f537ebc4bbd27866c9ac3e1198b6756ebab7f2ba:/docs/manual/cocci_syntax.tex diff --git a/docs/manual/cocci_syntax.tex b/docs/manual/cocci_syntax.tex index 84b9469..1f55dfc 100644 --- a/docs/manual/cocci_syntax.tex +++ b/docs/manual/cocci_syntax.tex @@ -155,7 +155,7 @@ the same, but for structure fields. \CASE{parameter list [ \NT{const} ] \NT{ids} ;} \CASE{type \NT{ids} ;} \CASE{statement \opt{list} \NT{ids} ;} - \CASE{declaration \opt{list} \NT{ids} ;} + \CASE{declaration \NT{ids} ;} \CASE{field \opt{list} \NT{ids} ;} \CASE{typedef \NT{ids} ;} \CASE{declarer name \NT{ids} ;} @@ -539,7 +539,7 @@ T b; ( writeb(..., | - readb( + readb(..., ) @--(T) b) @@ -564,6 +564,9 @@ write \end{tabular} \end{center} +Some kinds of terms can only appear in + code. These include comments, +ifdefs, and attributes (\texttt{\_\_attribute\_\_((...))}). + \section{Types} \label{types}