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] unbound value Parser.main?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michael Leary <leary@n...>
Subject: Re: [Caml-list] unbound value Parser.main?
Thanks for the replies. :)

New problem:

How do I reference functions in from parser.mly?  Do I have to put
most of my program in the header/footer of the parser?

ocamllex.opt lexer.mll
134 states, 7680 transitions, table size 31524 bytes
ocamlyacc  parser.mly
make[1]: Entering directory `/home/leary/dev/ocaml/fbot'
making ._ncdi/parser.di from parser.mli
making ._d/parser.d from
making ._d/lexer.d from
making ._d/fbot.d from
make[1]: Leaving directory `/home/leary/dev/ocaml/fbot'
make[1]: Entering directory `/home/leary/dev/ocaml/fbot'
ocamlc.opt -c   \
ocamlopt.opt -c
File "parser.mly", line 10, characters 24-34:
Unbound value initialize
make[1]: *** [parser.cmx] Error 2
make[1]: Leaving directory `/home/leary/dev/ocaml/fbot'
make: *** [native-code] Error 2

Bug reports:  FAQ:
To unsubscribe, mail  Archives: