Commit 47de3ffe authored by POTTIER Francois's avatar POTTIER Francois
Browse files

Fixed a bug where the name [Basics] was shadowed.

parent 99e47ec2
Fix a bug where the module name "Basics" was shadowed (that is, if the user's
project happened to contain a toplevel module by this name, then it could not
be referred to from an .mly file). (Reported by François Thiré.)
Add $MENHIR_STDLIB as a way of controlling where Menhir looks for the file
standard.mly. This environment variable overrides the installation-time
......@@ -210,7 +210,9 @@ let errorval =
EVar parse_error
let basics =
(* 2017/01/20 The name [basics] must be an unlikely name, as it might
otherwise hide a user-defined module by the same name. *)
let excvaldef = {
valpublic = false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment