public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jonas.bechtel at web dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/17875] localedef fails on ifndef-tokens and on if-statements following an if-else-statement.
Date: Sun, 25 Jan 2015 14:50:00 -0000	[thread overview]
Message-ID: <bug-17875-131-D2i1lFDbAb@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-17875-131@http.sourceware.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.


  parent reply	other threads:[~2015-01-25 14:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-25 13:31 [Bug libc/17875] New: " jonas.bechtel at web dot de
2015-01-25 13:33 ` [Bug libc/17875] " jonas.bechtel at web dot de
2015-01-25 14:50 ` jonas.bechtel at web dot de [this message]
2015-01-28 11:45 ` schwab@linux-m68k.org
2015-08-27 22:25 ` [Bug locale/17875] " jsm28 at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-17875-131-D2i1lFDbAb@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).