Path to this page:
Subject: CVS commit: pkgsrc/lang/camlp5
From: Jaap Boender
Date: 2013-08-22 17:25:01
Message id: 20130822152501.B3E4E96@cvs.netbsd.org
Log Message:
Updated lang/camlp5 to latest version, 6.11 (discussed with tonio@).
Changes from 6.07 are:
* Updated for ocaml version 4.01.0
* Added 'MLast.loc_of_with_constr'.
* Fixed bug toplevel with revised syntax; "= 'a" was missing
in output in that example:
# module type A = sig module type S = 'a; end;
module type A = sig module type S; end
* Now accept lowercase ident for module types, like ocaml does.
Accepted also in revised syntax.
* (experimental) Now, in revised syntax, a "." followed by
a newline is interpreted as a ";", allowing to end phrases with \
".".
Drawback: will syntax error when writing a record/module access in two
lines ending the first one with "." like:
foo.
bar
* Accept now "match with | | ... end" in revised syntax, with
a required "|" in the first case, as alternative syntax for match.
* Added function 'Pcaml.value greek_ascii_equiv' giving
an ascii equivalent to a greek (utf8) letter representing a type
parameter. E.g. 'a' for 'ñ', 'b' for 'ò', and so on.
* Fixed bug no locations built in some cases of constructors.
* Fixed bug: in toplevel, the highlighting of errors did not work.
* Added option '-dquot' to specify the default quotation name.
and the ability to use "#option" directive with two parameters. \
Therefore,
we can use either (e.g.):
-dquot "expr"
in the command line of camlp5 or
#option "-dquot" "expr"
inside a file.
* Now 'make' displays a message how to compile, instead
of doing 'make out'. Old behaviour of 'make' must be now 'make out'.
* Now accept identifiers starting with a greek letter as variable names.
* Fixed bug: DEFINE FOO=32 while using pa_macro.cmo did not work
due to a bad order in grammar insertion.
* Fixed bug: parsing greek letters as type variable in
constructor declaration did not work when building Camlp5.
Files: