in initialize and finalize rules
- Support for matching #ifdef, etc.
- function-typed metavariables
+- virtual typedef, declarer name, iterator name
+- regexps for type metavariables
** Features:
- New scripting languages
+- more than one SP on the command line
** Bugfix:
- Add more information in documentation, man pages and wiki
+- typedefs from C code should not be used before their point of inference
+ (saved_typedefs in cprogram_of_file)
* 1.0.0
** Language:
- Add support for && (label addresses)
- local idexpression metavariable no longer matches static local x
- Consider using to be a comment in C++ code. Patch submitted by Jani Monoses.
+- Command line cocci
+- print_main etc for ocaml Coccilib
** Features:
- Preserve spacing before // comments when not at the beginning of a line
declarer), when no transformation is specified on the semicolon.
- Add Coccilib.exit() for ocaml code and cocci.exit() for python code,
to abort the treatment of the current file.
+- Don't multiply print the same patch for the same file
+- Drop date in diff
+- Don't repeat smpl type warnings
+- -sp_file/-cocci_file are now optional. If not present an argument that
+ ends in .cocci is assumed to be the name of the file containing the
+ semantic patch.
** Bugfix:
- Corrected parsing of script strings delimited by a single quote. Thanks
Changes are still allowed on { ... } present for other reasons.
- Fix bug in include_match that caused everything to halt when all matches
were discarded
+- Don't call Insert_plus on rules that cannot be evaluated due to failed
+ dependencies.
+- Allow variable declaration right after a case in switch.
+- The top of a loop is also after the body of a loop, for ... in loop body
+- Do not anchor Str regexp at the beginning of the string to check
+- Type annotation for C code uses most recent env for typedefs when
+ possible. Thanks to Andrea Canciani for pointing out the problem.
+- Pretty print pointer types without a trailing space. Thanks to Michael
+ Stefaniuc for pointing out the problem.
* 0.2.5
** Language: