caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Junsong Li <ljs.darkfish@gmail.com>
To: caml-list@inria.fr
Subject: [Caml-list] ocamldoc lexer: why tracking line_number and char_number explicitly?
Date: Tue, 22 Dec 2015 21:52:11 -0800	[thread overview]
Message-ID: <CA+kGxtPchTEVDh1hOo8NmZL0Qp-POmAHx6q0zWjUoPiVMR+dxA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

Dear list,

I am wondering why ocamldoc lexers (odoc_lexer.mll and odoc_text_lexer.mll)
do not use Lexing.position but keep tracking line number and char number
explicitly. Does this have anything to do with the Unicode?

Thanks,
Junsong

[-- Attachment #2: Type: text/html, Size: 318 bytes --]

             reply	other threads:[~2015-12-23  5:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-23  5:52 Junsong Li [this message]
2015-12-23  9:34 ` Gabriel Scherer
2015-12-24  4:52   ` Junsong Li

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=CA+kGxtPchTEVDh1hOo8NmZL0Qp-POmAHx6q0zWjUoPiVMR+dxA@mail.gmail.com \
    --to=ljs.darkfish@gmail.com \
    --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).