From: "Gao, Liming" <liming.gao@intel.com>
To: Felix Poludov <Felixp@ami.com>,
"Kinney, Michael D" <michael.d.kinney@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: inconsistency between the UNI spec and the Build tool
Date: Fri, 29 Jul 2016 01:31:25 +0000 [thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A1155E2277@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <9333E191E0D52B4999CE63A99BA663A0024C670256@atlms1.us.megatrends.com>
Felix:
Thanks for your report. We will fix it in BaseTools to align to UNI spec.
Thanks
Liming
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Felix Poludov
> Sent: Wednesday, July 27, 2016 9:50 PM
> To: Kinney, Michael D <michael.d.kinney@intel.com>; edk2-
> devel@lists.01.org
> Subject: Re: [edk2] inconsistency between the UNI spec and the Build tool
>
> No, STR_Xyz or str_x triggers the same error.
>
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Kinney, Michael D
> Sent: Tuesday, July 26, 2016 7:04 PM
> To: Felix Poludov; edk2-devel@lists.01.org; Kinney, Michael D
> Subject: Re: [edk2] inconsistency between the UNI spec and the Build tool
>
> Felix,
>
> Does STR_Xyz work? I am wondering if the build tools are trying to enforce
> Camel case between the '_'.
>
> Mike
>
> > -----Original Message-----
> > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Felix Poludov
> > Sent: Tuesday, July 26, 2016 3:00 PM
> > To: edk2-devel@lists.01.org
> > Subject: [edk2] inconsistency between the UNI spec and the Build tool
> >
> > According to UNI specification string token identifier can use upper case
> and lower
> > case letters:
> > From section 2.1:
> > <Token> ::= <CtrlChar> "string" <MS> <Identifier>
> > <Identifier> ::= <Letter> [{<Letter>} {<Digit>} {<UN>}]*
> > <Letter> ::= {(\u0041-\u005A)} ; Characters A - Z
> > {(\u0061-\u007A)} ; Characters a - z
> >
> > However, when I'm trying to use lower case characters in string token
> identifier,
> > I'm getting a build error.
> >
> > Here is a test UNI statement I use:
> > #string STR_x #language eng "Test"
> >
> > Here is the build error I'm getting:
> > build...
> > : error 3000: The string token name STR_x defined in UNI file x.uni contains
> the
> > invalid lower case character.
> >
> > Is it an implementation bug or the specification inaccuracy?
> >
> > Thanks
> > Felix
> >
> > Please consider the environment before printing this email.
> >
> > The information contained in this message may be confidential and
> proprietary to
> > American Megatrends, Inc. This communication is intended to be read only
> by the
> > individual or entity to whom it is addressed or by their designee. If the
> reader of
> > this message is not the intended recipient, you are on notice that any
> distribution of
> > this message, in any form, is strictly prohibited. Please promptly notify the
> sender
> > by reply e-mail or by telephone at 770-246-8600, and then delete or
> destroy all copies
> > of the transmission.
> > _______________________________________________
> > edk2-devel mailing list
> > edk2-devel@lists.01.org
> > https://lists.01.org/mailman/listinfo/edk2-devel
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
>
> Please consider the environment before printing this email.
>
> The information contained in this message may be confidential and
> proprietary to American Megatrends, Inc. This communication is intended to
> be read only by the individual or entity to whom it is addressed or by their
> designee. If the reader of this message is not the intended recipient, you are
> on notice that any distribution of this message, in any form, is strictly
> prohibited. Please promptly notify the sender by reply e-mail or by
> telephone at 770-246-8600, and then delete or destroy all copies of the
> transmission.
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
parent reply other threads:[~2016-07-29 1:31 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <9333E191E0D52B4999CE63A99BA663A0024C670256@atlms1.us.megatrends.com>]
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-list 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=4A89E2EF3DFEDB4C8BFDE51014F606A1155E2277@shsmsx102.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/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