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] Calling ocamlyacc from ocamlyacc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: katre <katre@h...>
Subject: Re: [Caml-list] Calling ocamlyacc from ocamlyacc
Michal Moskal wrote:
> You can define several start symbols in your grammar. Parsing functions
> are defined for each. You can also define several rule ... in your lexer
> (lexing functions are defined for each). Hope that helps, I can't help
> more, since I don't quite understand nature of your problem.

Right, but is there a way, in a ocamlyacc action, to switch which lexer
rule you're using?  That seems to be the main part I am missing.  Or if
I could access the lexbuf directly, I could also use that.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: