From: Dawid Toton <d0@wp.pl>
To: caml-list@inria.fr
Subject: [Caml-list] Re: ocamlyacc 4.00.0 - something changed?
Date: Mon, 20 Aug 2012 15:54:52 +0200 [thread overview]
Message-ID: <503241AC.2020807@wp.pl> (raw)
In-Reply-To: <503222F4.3080100@wp.pl>
> I have nailed down my problems to a strange failure of ocamlyacc 4.00.0.
I was silly to think it's change in 4.00.0, this was out-of-space in /tmp.
In yacc/reader.c at line 1772 it doesn't check fprintf result and continues silently so I get puzzling incomplete results.
I would put something like
#define ERR_CHECK(result) if((result) < 0) exit(2)
in yacc/defs.h and put it around each fprintf.
Dawid
prev parent reply other threads:[~2012-08-20 13:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-20 11:43 [Caml-list] " Dawid Toton
2012-08-20 13:54 ` Dawid Toton [this message]
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=503241AC.2020807@wp.pl \
--to=d0@wp.pl \
--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;
as well as URLs for NNTP newsgroup(s).