aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/ld-collate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index 20a8776f93..070c65a2d8 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -317,6 +317,9 @@ read_directions (struct linereader *ldfile, struct token *arg,
valid = 1;
}
+ if (valid)
+ arg = lr_token (ldfile, charmap, repertoire);
+
if (arg->tok == tok_eof || arg->tok == tok_eol || arg->tok == tok_comma
|| arg->tok == tok_semicolon)
{