This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/17875] localedef fails on ifndef-tokens and on if-statements following an if-else-statement.
- From: "jonas.bechtel at web dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 25 Jan 2015 14:50:01 +0000
- Subject: [Bug libc/17875] localedef fails on ifndef-tokens and on if-statements following an if-else-statement.
- Auto-submitted: auto-generated
- References: <bug-17875-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17875
--- Comment #2 from Jonas Bechtel <jonas.bechtel at web dot de> ---
FYI. It's dependend on whether the first if branch was taken.
bechtel@desktop:~/tmp/loc> cat iso14651_t1_common; echo ======; LANG=C
localedef -i iso14651_t1_common --force ~/tmp/loc/out/ 2>&1 | grep -v "No def"
LC_COLLATE
order_start forward
define BCno
ifdef BC
<U0062> # b
<U0063> # c
else
<U0063> # c
<U0062> # b
endif
define DIACRIT_FORWARD
ifdef DIACRIT_FORWARD
<U0061> # a
else
<U0064> # d
endif
order_end
END LC_COLLATE
======
bechtel@desktop:~/tmp/loc> vim iso14651_t1_common
bechtel@desktop:~/tmp/loc> cat iso14651_t1_common; echo ======; LANG=C
localedef -i iso14651_t1_common --force ~/tmp/loc/out/ 2>&1 | grep -v "No def"
LC_COLLATE
order_start forward
define BC
ifdef BC
<U0062> # b
<U0063> # c
else
<U0063> # c
<U0062> # b
endif
define DIACRIT_FORWARD
ifdef DIACRIT_FORWARD
<U0061> # a
else
<U0064> # d
endif
order_end
END LC_COLLATE
======
iso14651_t1_common:14: LC_COLLATE: nested conditionals not supported
iso14651_t1_common:16: LC_COLLATE: more then one 'else'
bechtel@desktop:~/tmp/loc>
--
You are receiving this mail because:
You are on the CC list for the bug.