From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id F1C1CBB9A for ; Fri, 28 Oct 2005 21:44:04 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j9SJi4pj023893 for ; Fri, 28 Oct 2005 21:44:04 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA02553 for ; Fri, 28 Oct 2005 21:44:04 +0200 (MET DST) Received: from mz3.forethought.net (mzpi5.forethought.net [216.241.36.14]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j9SJi2gV023890 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 28 Oct 2005 21:44:03 +0200 Received: from [216.241.35.41] (helo=[10.0.0.2]) by mz3.forethought.net with esmtp (Exim 4.51) id 1EVa8u-0001Xm-Tx for caml-list@inria.fr; Fri, 28 Oct 2005 13:44:01 -0600 Message-ID: <43627F87.9090605@gushee.net> Date: Fri, 28 Oct 2005 13:44:07 -0600 From: Matt Gushee User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051002) X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: Camlp4 question Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 43627F84.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43627F82.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 expr:01 mlast:01 expander:01 evidently:01 patt:01 objects:02 expressions:03 structure:04 loc:04 problem:05 opt:05 opt:05 wrong:08 quotation:09 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 I had occasion today to look through the pa_r.ml, and noticed the following (line 329 in OCaml 3.08.4): | "object"; cspo = OPT class_self_patt; cf = class_structure; "end" -> (* <:expr< object $opt:cspo$ $list:cf$ end >> *) MLast.ExObj loc cspo cf ] So a quotation expander was created for objects as ordinary expressions, but evidently there was something wrong with it. Anyone know what the problem was? -- Matt Gushee Englewood, CO, USA