From: Michael Wohlwend <micha-1@fantasymail.de>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Ocamllex question
Date: Sun, 23 Oct 2005 22:58:34 +0200 [thread overview]
Message-ID: <200510232258.34761.micha-1@fantasymail.de> (raw)
In-Reply-To: <435BD045.1000305@gushee.net>
Hi,
On Sunday 23 October 2005 20:02, Matt Gushee wrote:
>
> and comment = parse
> [ ^ '\n' ] { comment lexbuf }
>
> | '\n' { SEP; dict lexbuf }
I'm not quite sure whether I understood your problem, but... doesn' it help to
just return a SEP after a comment:
rule dict = parse
...
| ',' | '\n' { SEP }
| '#' [^ '\n']* '\n' { SEP }
...
Michael
next prev parent reply other threads:[~2005-10-23 20:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-23 18:02 Matt Gushee
2005-10-23 20:58 ` Michael Wohlwend [this message]
2005-10-23 21:12 ` Another problem (was Re: [Caml-list] Ocamllex question) Matt Gushee
2005-10-23 21:37 ` Michael Wohlwend
2005-10-24 19:50 ` Matt Gushee
2005-10-24 20:18 ` Michael Wohlwend
-- strict thread matches above, loose matches on Subject: below --
2009-03-10 22:44 ocamllex question Robert Muller
2009-03-11 0:43 ` [Caml-list] " Martin Jambon
2005-09-21 18:34 skaller
2005-09-22 6:47 ` [Caml-list] " Alex Baretta
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=200510232258.34761.micha-1@fantasymail.de \
--to=micha-1@fantasymail.de \
--cc=caml-list@yquem.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