This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/17875] localedef fails on ifndef-tokens and on if-statements following an if-else-statement.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]