From d364e525a1366c30a63dad05d3287f4ee775612b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 8 Aug 2000 22:43:16 +0000 Subject: Update. 2000-08-08 Ulrich Drepper * locale/linereader.c (get_string): Don't print an error is a string contains an unknown character. --- locale/programs/linereader.c | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) (limited to 'locale') diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c index 36dd0cd2d0..6237094f07 100644 --- a/locale/programs/linereader.c +++ b/locale/programs/linereader.c @@ -703,29 +703,18 @@ non-symbolic character value should not be used")); symbol = repertoire_find_symbol (repertoire, wch); if (symbol == NULL) - { - /* We cannot generate a string since we - cannot map from the Unicode number to the - character symbol. */ - lr_error (lr, _("\ -character not in repertoire map"), - wch > 0xffff ? 8 : 4, wch); - - illegal_string = 1; - } + /* We cannot generate a string since we + cannot map from the Unicode number to the + character symbol. */ + illegal_string = 1; else { seq = charmap_find_value (charmap, symbol, strlen (symbol)); if (seq == NULL) - { - /* Not a known name. */ - lr_error (lr, - _("symbol `%s' not in charmap"), - symbol); - illegal_string = 1; - } + /* Not a known name. */ + illegal_string = 1; } } -- cgit v1.2.3