Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Genlex (question and problem)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-11-07 (13:01)
From: Jeremy Fincher <fincher.8@o...>
Subject: Re: [Caml-list] Genlex (question and problem)
> > I get "This pattern matches values of type Genlex.token option but
> > is here used to match values of type Genlex.token Stream.t option",
> > which I *cannot* figure out.
> At which location of your source?

Did I really forget that?  Sheesh!  It was late here :)

I get the error on the parse_inside function *after* the parse_stats function (the second one :))  If I comment out this line:

| [< 'Ident "stats"; 'Kwd "="; stats = parse_stats; Kwd ";"; rest >] ->
      parse_inside2 { cu with stats = stats } rest

Then it works.  But I can't see what's wrong with that line.

Bug reports:  FAQ:
To unsubscribe, mail  Archives: