Version française
Home     About     Download     Resources     Contact us    
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 fbot.ml 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 parser.ml
making ._d/lexer.d from lexer.ml
making ._d/fbot.d from fbot.ml
make[1]: Leaving directory `/home/leary/dev/ocaml/fbot'
make[1]: Entering directory `/home/leary/dev/ocaml/fbot'
ocamlc.opt -c   \
			   parser.mli
ocamlopt.opt -c       parser.ml
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: 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