Browse thread
[Caml-list] unbound value Parser.main?
-
Michael Leary
-
Michael Leary
- Michael Leary
- Patrick M Doane
-
Markus Mottl
-
Michael Leary
- Patrick M Doane
-
Michael Leary
-
Michael Leary
[
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: | Patrick M Doane <patrick@w...> |
| Subject: | Re: [Caml-list] unbound value Parser.main? |
On Fri, 31 Aug 2001, Michael Leary wrote: > Thanks for the replies. :) > > New problem: > > How do I reference functions in fbot.ml from parser.mly? Do I have to put > most of my program in the header/footer of the parser? You'll have to make sure that fbot.ml is compiled before parser.mly in your Makefile. If fbot.ml calls the parser then you'll need to break the recursive dependency into two modules. After that, the parser can refer to the code in fbot.ml with a module prefix (e.g. Fbot.initialize). Patrick ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr