From: "Nathaniel Gray" <n8gray@gmail.com>
To: "Till Varoquaux" <till.varoquaux@gmail.com>
Cc: OCaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Ocamllex newline counting...
Date: Tue, 11 Mar 2008 18:00:36 -0700 [thread overview]
Message-ID: <aee06c9e0803111800o2efe8f10j2ddcd4be6174ef96@mail.gmail.com> (raw)
In-Reply-To: <9d3ec8300803070157y6bb173eew865e2f232cb4c789@mail.gmail.com>
On Fri, Mar 7, 2008 at 2:57 AM, Till Varoquaux <till.varoquaux@gmail.com> wrote:
>
> Is there any fundamental reason I am missing why newlines are not
> handled natively in the generated automaton?
My guess is that this is for the times you're working on the output of
a preprocessor. It's common for preprocessors to add extra lines that
shouldn't be counted for error reporting purposes. I agree that there
should be better support for the common case, though. That's why I
reported this feature request for a helper function to factor out some
of the boilerplate code, which was granted:
http://caml.inria.fr/mantis/view.php?id=3930
Cheers,
-n8
--
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->
prev parent reply other threads:[~2008-03-12 1:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 9:57 Till Varoquaux
2008-03-07 15:39 ` [Caml-list] " Berke Durak
2008-03-12 1:00 ` Nathaniel Gray [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=aee06c9e0803111800o2efe8f10j2ddcd4be6174ef96@mail.gmail.com \
--to=n8gray@gmail.com \
--cc=caml-list@inria.fr \
--cc=till.varoquaux@gmail.com \
/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