Hi Dennis,

Thanks for your comments. I've updated the patch to handle case 1 you 
mentioned. Regarding case 2, because this function only handles Unicode text 
files, I think it's okay to keep it in this file. A similar function might be 
needed for ANSI text files but it's not in the scope of the problem I wanted to 
fix.



Sincerely,

Cecil Sheng
ISS Firmware Development
HP Servers

From: Liu, Yingke D [mailto:[email protected]]
Sent: Wednesday, November 26, 2014 9:35 AM
To: [email protected]
Subject: Re: [edk2] [PATCH] BaseTool : Fix '/' handling in UNI files

Hi Cecil,

Thanks for this patch.
Two comments about the patch:

1)      Count '\"' might not be correct, for example a string with escaped 
backslash: "some text\\"

2)      I think the StripComments function is a common function which is better 
to be defined out of the class.

Thanks,
Dennis

From: Sheng, Cecil (HPS SW) [mailto:[email protected]]
Sent: Wednesday, November 26, 2014 8:55 AM
To: [email protected]<mailto:[email protected]>
Subject: [edk2] [PATCH] BaseTool : Fix '/' handling in UNI files


Please review attached patch.

Corrected '/' handling in the strings of UNI files. Also the '\"' escape 
sequence processing is corrected.
Contributed-Under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cecil Sheng <[email protected]<mailto:[email protected]>>


Sincerely,

Cecil Sheng
HP Servers

Hewlett-Packard Company
hp.com/go/proliant/uefi<http://hp.com/go/proliant/uefi>

Attachment: UniClassObject.py.patch
Description: UniClassObject.py.patch

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to