[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2008-03-12 (01:00) |
From: | Nathaniel Gray <n8gray@g...> |
Subject: | Re: [Caml-list] Ocamllex newline counting... |
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 -->