Hi,
It seems to me that the default main in the Yacc library (gcc option
-ly) for bison fixes the locale for its execution according to the
configuration of the host, whereas the default main generated by bison
(no -ly gcc option) does not. This difference of behaviours should be
documented somewhere in the bison manual. I suggest to add, in the
documentation, a description of both default main functions.
Best regards,
Nicolas
--
Nicolas Bedon
LITIS EA 4108
Departement d'informatique - UFR Sciences et Techniques
Univ. de Rouen F-76821 Mont-Saint-Aignan Cedex
France
Tel: +33 232 955 291