From: Matt Gushee <matt@gushee.net>
To: caml-list@inria.fr
Subject: Tkcompiler parse error
Date: Wed, 16 Nov 2005 12:55:33 -0700 [thread overview]
Message-ID: <437B8EB5.9090309@gushee.net> (raw)
Hello, all--
I am developing some modifications to LablTk, to bring it up to date
with the current stable version of Tk. Most of my work so far has been
in the Widgets.src file.
I have successfully modified Widgets.src several times before, so I
think I have a pretty good idea of how to work with it, but evidently I
have made some mistake, because when I try to compile OCaml with the
modifications, I get this error:
cd labltk; make -f Makefile.gen
make[2]: Entering directory \
`/.devel/local.src/ocaml-3.08.4/otherlibs/labltk/labltk'
cd ..; ../../boot/ocamlrun compiler/tkcompiler -outdir labltk
Uncaught exception: Tables.Compiler_Error("Preprocess error: parse \
error at char 85974, 85974")
make[2]: *** [_tkgen.ml] Error 2
The character index is useless, since 85974 is just the total number of
characters in my modified Widgets.src. And since I have added three
widget types, and added configuration options and/or functions to most
of the existing widgets, it is far from obvious where to look for my
mistake.
How can I diagnose this? Does tkcompiler have a debug mode, or any
option that would cause it to give more verbose errors?
--
Matt Gushee
Englewood, CO, USA
next reply other threads:[~2005-11-16 19:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-16 19:55 Matt Gushee [this message]
2005-11-16 20:06 ` [Caml-list] " Matt Gushee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=437B8EB5.9090309@gushee.net \
--to=matt@gushee.net \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox