From: Vincent Balat <vbalat@brics.dk>
To: caml-list@inria.fr
Subject: Genlex et apostrophe
Date: Thu, 10 Jul 1997 17:23:34 +0200 (MET DST) [thread overview]
Message-ID: <199707101523.RAA25493@brics.dk> (raw)
Bonjour,
Y a-t-il un moyen d'utiliser l'apostrophe dans un mot-clef avec le
module Genlex (OCaml 1.05) ? Le programme suivant genere l'erreur :
Uncaught exception: Parse_error("")
alors qu'il fonctionne lorsque ' est remplace par autre chose.
Merci.
open Genlex;;
open Stream;;
let lexer = make_lexer ["'"];;
let rec parse = parser
[< 'Kwd "'" >] -> 22 ;;
parse (lexer (of_string "'"));;
reply other threads:[~1997-07-11 19:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=199707101523.RAA25493@brics.dk \
--to=vbalat@brics.dk \
--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