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: 4120 Reporter: hirokawa Assigned to: ertai Status: closed (set by ertai on 2006-09-25T14:39:33Z) Resolution: fixed Priority: normal Severity: minor Version: 3.10+dev Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues Monitored by: hirokawa
Bug description
Hello,
In the lhs of rules in EXTEND .. END
a backquoted tuple is not available
because of some unbound variable (__camlp4_0).
The version I used is 3.10+dev8 (2006-06-26).
Original bug ID: 4120
Reporter: hirokawa
Assigned to: ertai
Status: closed (set by ertai on 2006-09-25T14:39:33Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.10+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Monitored by: hirokawa
Bug description
Hello,
In the lhs of rules in EXTEND .. END
a backquoted tuple is not available
because of some unbound variable (__camlp4_0).
The version I used is 3.10+dev8 (2006-06-26).
$ cat a.ml
EXTEND Gram
abc: [ [ `(x,y) -> "z" ] ];
END
$ camlp4of -printer OCaml a.ml
Gram.extend (abc : 'abc Gram.Entry.t)
((fun () ->
(None,
[ (None, None,
[ ([ Gram.Stoken
(((function | (_, ) -> true | _ -> false), "(, _)")) ],
(Gram.Action.mk
(fun ((x, y) : Gram.Token.t) (_loc : Loc.t) ->
match __camlp4_0 with
| (x, y) -> ("z" : 'abc)
| _ -> assert false))) ]) ]))
())
PS.
Concerning bug reports on new Camlp4, should I wait
until the pre-release of new Camlp4?
Additional information
No no don't wait that's fine to catch many bugs as possible.
The text was updated successfully, but these errors were encountered: