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: 5352 Reporter: Dmitry Grebeniuk Assigned to:@diml Status: closed (set by @xavierleroy on 2015-12-11T18:08:00Z) Resolution: not a bug Priority: normal Severity: minor Version: 3.12.1 Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Bug description
camlp4rf does not allow to use LOCATION in macros.
$ ocamlc.opt -version
3.12.1+rc1
$ ls
lo.ml _tags
$ cat lo.ml
DEFINE W = LOCATION;
value () = ignore W;
$ cat _tags
<*> : camlp4rf, warn_A
$ ocamlbuild lo.byte
/somepath/ocamlc.opt -c -w A -pp camlp4rf -o lo.cmo lo.ml
File "lo.ml", line 2, characters 18-19:
Error: Unbound module Loc
Command exited with code 2.
Compilation unsuccessful after building 2 targets (0 cached) in 00:00:00.
The text was updated successfully, but these errors were encountered:
Original bug ID: 5352
Reporter: Dmitry Grebeniuk
Assigned to: @diml
Status: closed (set by @xavierleroy on 2015-12-11T18:08:00Z)
Resolution: not a bug
Priority: normal
Severity: minor
Version: 3.12.1
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Bug description
camlp4rf does not allow to use LOCATION in macros.
$ ocamlc.opt -version
3.12.1+rc1
$ ls
lo.ml _tags
$ cat lo.ml
DEFINE W = LOCATION;
value () = ignore W;
$ cat _tags
<*> : camlp4rf, warn_A
$ ocamlbuild lo.byte
File "lo.ml", line 2, characters 18-19:
Error: Unbound module Loc
Command exited with code 2.
Compilation unsuccessful after building 2 targets (0 cached) in 00:00:00.
The text was updated successfully, but these errors were encountered: