Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
"camlp4 -parser r -parser rp" accept original syntax, not equivalent to camlp4r #5071
Original bug ID: 5071
The Camlp4 wiki (http://brion.inria.fr/gallium/index.php/Using_Camlp4) says that
However "camlp4 -parser r -parser rp -printer a" seems to accept original syntax, not the revised one!
Looks like '-parser rp' loads the original syntax too:
$ camlp4 -parser rp -loaded-modules
I think '-parser rp' is meant to load RevisedParserParser, but for some reason it loads the original syntax too (Camlp4OCamlParser), which makes the input language original syntax (not revised).