Completly changed the syntax to make this a proper ppx (and not a -pp as it previously was). The old syntax is now available in
Depend on ppxlib instead of (now deprecated) ppx_core and ppx_driver.
Make it easier to share a .h and .mlh
Ppx_optcomp was modified to accept
Xhas been seen, either in a
#undef. This allow to share config.h files between C and OCaml and still be protected against typos in .ml files.
Install standalone ppx-optcomp program that can be run through
Change the way optcomp resolve filenames in #import directives
Do the same as cpp, i.e. for relative filenames, consider they are relative to the directory of the file being parsed. This doesn't matter internally as build commands are always executed from the current directory, but it matters for the public release as everything is executed from the root.