HCoop
/
bpt
/
coccinelle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
coccinelle release 0.2.5
[bpt/coccinelle.git]
/
docs
/
manual
/
cocci_syntax.tex
diff --git
a/docs/manual/cocci_syntax.tex
b/docs/manual/cocci_syntax.tex
index
84b9469
..
1f55dfc
100644
(file)
--- 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{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} ;}
\CASE{field \opt{list} \NT{ids} ;}
\CASE{typedef \NT{ids} ;}
\CASE{declarer name \NT{ids} ;}
@@
-539,7
+539,7
@@
T b;
(
writeb(...,
|
(
writeb(...,
|
- readb(
+ readb(
...,
)
@--(T)
b)
)
@--(T)
b)
@@
-564,6
+564,9
@@
write
\end{tabular}
\end{center}
\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}
\section{Types}
\label{types}