Browse thread
Strange syntax error
-
Richard Jones
- Nicolas Cannasse
- Jon Harrop
-
Kurt Welgehausen
- Richard Jones
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Richard Jones <rich@a...> |
| Subject: | Re: [Caml-list] Strange syntax error |
On Sun, Jan 23, 2005 at 04:23:16PM -0600, Kurt Welgehausen wrote: > > Is this a parsing bug? > > See section 6.7 of the manual, 'pattern-matching ::= ...'. > > <when> is not mentioned in the definition of <pattern> > (section 6.6); it's mentioned only in the definition > of <expr> (section 6.7). Since an or-pattern is a > <pattern>, it appears that it can have only one <when> > clause. Thanks to all who replied. Yes, it was my misunderstanding of the manual. Rich. --