bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64192] xgettext doesn't handle strings in preprocessor macros


From: Bruno Haible
Subject: [bug #64192] xgettext doesn't handle strings in preprocessor macros
Date: Mon, 15 May 2023 13:23:50 -0400 (EDT)

Update of bug #64192 (project gettext):

                  Status:                    None => Answer Provided        
             Assigned to:                    None => haible                 
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

"strings in preprocessor macros" means that for


#define ERRMSG \
  gettext("some message")


an msgid "some message" will be extracted.

> gettext(BAR);
> gettext("foo" BAR);

Substituting the value of BAR here would imply that xgettext contains or
invokes a C preprocessor. This is beyond the scope of xgettext.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64192>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]