* [Caml-list] Can otags process *.m{,i} files that contain macros?
@ 2014-01-11 15:01 Matej Kosik
0 siblings, 0 replies; only message in thread
From: Matej Kosik @ 2014-01-11 15:01 UTC (permalink / raw)
To: caml-list
[-- Attachment #1: Type: text/plain, Size: 682 bytes --]
Dear all,
I would like to ask if and how it is possible to use "otags" with files that contain macros.
E.g. if I use "mikmatch" and compile my file like this:
ocamlfind c -c -syntax camlp4o -package mikmatch_pcre main.ml
ocamlfind c -o main -syntax camlp4o -package mikmatch_pcre -linkpkg main.cmo
what is then the right way to run "otags"?
When I try:
otags -vi main.ml
I get:
File "main.ml", line 19, characters 15-16
Camlp4 parse error: [expr] expected after [infix operator (level 3) (start with '*', '/', '%')] (in [expr])
There is an "-pa" parameter, but I am not sure if I should use it and how;
(i.e., what "parser name" corresponds to "mikmatch_pcre" package.)
[-- Attachment #2: main.ml --]
[-- Type: text/plain, Size: 19 bytes --]
RE spaces = ' '*;;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-11 15:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-11 15:01 [Caml-list] Can otags process *.m{,i} files that contain macros? Matej Kosik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).