-/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.org>, 1996.
error (4, 0,
_("no repertoire map specified: cannot proceed"));
- repertoire = repertoire_read (repertoiremap);
+ result->repertoire = repertoire
+ = repertoire_read (repertoiremap);
if (repertoire == NULL)
/* This is also fatal. */
error (4, errno, _("cannot read repertoire map `%s'"),
error (4, 0,
_("no repertoire map specified: cannot proceed"));
- repertoire = repertoire_read (repertoiremap);
+ result->repertoire = repertoire
+ = repertoire_read (repertoiremap);
if (repertoire == NULL)
/* This is also fatal. */
error (4, errno, _("cannot read repertoire map `%s'"),
error (4, 0,
_("no repertoire map specified: cannot proceed"));
- repertoire = repertoire_read (repertoiremap);
+ result->repertoire = repertoire
+ = repertoire_read (repertoiremap);
if (repertoire == NULL)
/* This is also fatal. */
error (4, errno, _("cannot read repertoire map `%s'"),
error (4, 0,
_("no repertoire map specified: cannot proceed"));
- repertoire = repertoire_read (repertoiremap);
+ result->repertoire = repertoire
+ = repertoire_read (repertoiremap);
if (repertoire == NULL)
/* This is also fatal. */
error (4, errno, _("cannot read repertoire map `%s'"),
error (4, 0,
_("no repertoire map specified: cannot proceed"));
- repertoire = repertoire_read (repertoiremap);
+ result->repertoire = repertoire
+ = repertoire_read (repertoiremap);
if (repertoire == NULL)
/* This is also fatal. */
error (4, errno, _("cannot read repertoire map `%s'"),
error (4, 0,
_("no repertoire map specified: cannot proceed"));
- repertoire = repertoire_read (repertoiremap);
+ result->repertoire = repertoire
+ = repertoire_read (repertoiremap);
if (repertoire == NULL)
/* This is also fatal. */
error (4, errno, _("cannot read repertoire map `%s'"),
}
/* Lookup value for token and write into array. */
- ctype_class_from (ldfile, result, arg, charset);
+ ctype_class_from (ldfile, result, arg, charset, repertoire);
arg = lr_token (ldfile, charset);
if (arg->tok == tok_semicolon)
goto bad_charclass;
/* Write range starting at LAST to ARG->VAL. */
- ctype_class_to (ldfile, result, arg, charset);
+ ctype_class_to (ldfile, result, arg, charset, repertoire);
arg = lr_token (ldfile, charset);
if (arg->tok == tok_semicolon)
}
/* Lookup arg and assign to FROM. */
- ctype_map_from (ldfile, result, now, charset);
+ ctype_map_from (ldfile, result, now, charset, repertoire);
now = lr_token (ldfile, charset);
if (now->tok != tok_comma)
goto bad_charconv;
/* Lookup arg and assign to TO. */
- ctype_map_to (ldfile, result, now, charset);
+ ctype_map_to (ldfile, result, now, charset, repertoire);
now = lr_token (ldfile, charset);
if (now->tok != tok_close_brace)