You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 839 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Hi,
applying camlp4 to the lablgtk sources gives the following
errors:
ithif51 src 41> camlp4o pr_o.cmo gDraw.mli
File "gDraw.mli", line 66, characters 42-43:
Parse error: [type] expected after '[' (in [class_signature])
ithif51 src 42> camlp4o pr_o.cmo gObj.mli
File "gObj.mli", line 35, characters 18-19:
Parse error: [type] expected after '[' (in [class_signature])
I also saw a few problems in the camlp4 reference manual:
appendix A.11 is about class_sig_item, but the quotation there
is class_type.
class_str_item is missing in appendix A.
I would also suggest to place more type information in appendix
A. For instance in A.2 there is the line
<:expr< match $e$ with [ $list:pwel$ ] >>: match statement
If I want to use this quotation then I have to know the type of
the antiquotations e and pwel. OK, for e I can guess the type
Ast.expr, but for pwel it is less obvious. I would therefore
suggest to write
<:expr< match $e$ with [ $list:pwel$ ] >>: match statement
(e :: Ast.expr, pwel :: (Ast.patt * Ast.expr option * Ast.expr) list)
BTW, thanks for the additional locations in concrete type
definitions. Tags generation with camlp4 works now very well.
Bye,
Hendrik
The text was updated successfully, but these errors were encountered:
Original bug ID: 839
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hi,
applying camlp4 to the lablgtk sources gives the following
errors:
I also saw a few problems in the camlp4 reference manual:
appendix A.11 is about class_sig_item, but the quotation there
is class_type.
class_str_item is missing in appendix A.
I would also suggest to place more type information in appendix
A. For instance in A.2 there is the line
If I want to use this quotation then I have to know the type of
the antiquotations e and pwel. OK, for e I can guess the type
Ast.expr, but for pwel it is less obvious. I would therefore
suggest to write
BTW, thanks for the additional locations in concrete type
definitions. Tags generation with camlp4 works now very well.
Bye,
Hendrik
The text was updated successfully, but these errors were encountered: