From: Dario Teixeira <darioteixeira@yahoo.com>
To: caml-list@inria.fr, yoann padioleau <pad.aryx@gmail.com>
Subject: Re: [Caml-list] ocamllex and yyless, putting back chars in lexbuf
Date: Thu, 12 Nov 2009 12:32:13 -0800 (PST) [thread overview]
Message-ID: <723759.25916.qm@web111510.mail.gq1.yahoo.com> (raw)
In-Reply-To: <c55bbbbc0911121047w74b91d24g3db030a4884bebed@mail.gmail.com>
Hi,
> Is there a way in ocamllex to put back certain characters
> in the buffer. In flex you can do that
It is also possible with Ulex, using Ulexing.rollback.
Even if you don't need the UTF8 features, I suggest you take a
look at Ulex anyway; the approach used (it's a syntax extension)
provides greater flexibility. Moreover, it also handles latin1
streams fine.
Cheers,
Dario Teixeira
prev parent reply other threads:[~2009-11-12 20:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-12 18:47 yoann padioleau
2009-11-12 20:32 ` Dario Teixeira [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=723759.25916.qm@web111510.mail.gq1.yahoo.com \
--to=darioteixeira@yahoo.com \
--cc=caml-list@inria.fr \
--cc=pad.aryx@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