Coccinelle release 0.2.5-rc4
authorCoccinelle <cocci@diku.dk>
Thu, 3 Feb 2011 10:19:11 +0000 (11:19 +0100)
committerRene Rydhof Hansen <rrh@cs.aau.dk>
Thu, 3 Feb 2011 10:19:11 +0000 (11:19 +0100)
commitb23ff9c7302ebf30b88a122d92bbfd8656f4d192
treeb7e8623d7fd7e2582e6a4f5c2e28fc567dc39752
parentca417fcf6830657ebcabb47429fee43fda25856b
Coccinelle release 0.2.5-rc4

** Language:
- Make a very small attempt to parse C++ code, amounting to accepting
  identifiers containing ::, tilde, and template invocations.  Use the
  option -c++.  This is not likely to be very useful in practice.
- Added metavariable metavariable type.

** Features:
- support transformations on variables (only) in declarations that declare
  multiple variables
- allow #endif XXX in C code
- relax_include_path now applied to non local includes too, in which case
  it tries to find a unique file with a suffix of the provided name.
  this is useful for directories that are intended to be symbolic links.
- support matching and removing #undef
- support for iteration in ocaml, requires use of -no_show_diff
- calls to likely and unlikely propagate test expression status to their
  arguments
- reuse typedefs and macros from complete parsing when reparsing the
  transformed code

** Bugfix:
- improved parsing of expressions to allow ... to the right of operators in
  more places
- Fix check_config for Python 2.7 on Fedora 14 (Reported-by: Michael Stefaniuc)
- Check for ocamlfind in configure (Reported-by: Paul E. McKenney)
- Postpone use of ocamlfind at runtime to report fewer errors
- Add support for Python 2.4 binding with the provided pycaml library
34 files changed:
Makefile
changes.txt
configure
dllpycaml_stubs.so [deleted file]
docs/manual/cocci_syntax.tex
docs/manual/main_grammar.pdf
docs/manual/manual.pdf
docs/manual/options.pdf
globals/config.ml.in
ocaml/prepare_ocamlcocci.ml [deleted symlink]
ocaml/yes_prepare_ocamlcocci.ml
output [deleted file]
parsing_c/unparse_hrule.ml
parsing_cocci/ast_cocci.ml
parsing_cocci/ast_cocci.mli
parsing_cocci/data.ml
parsing_cocci/data.mli
parsing_cocci/iso_pattern.ml
parsing_cocci/lexer_cocci.mll
parsing_cocci/parse_aux.ml
parsing_cocci/parse_cocci.ml
parsing_cocci/parser_cocci_menhir.ml
parsing_cocci/parser_cocci_menhir.mli
parsing_cocci/parser_cocci_menhir.mly
prim.c [deleted file]
pycaml/Makefile
pycaml/pycaml_ml.c
runspatch.opt [deleted file]
test.ml [deleted file]
testing.ml
tests/inhmet.c [new file with mode: 0644]
tests/inhmet.cocci [new file with mode: 0644]
tests/inhmet.res [new file with mode: 0644]
tools/bridge.ml