[Xen-devel] [PATCH]sxp parser: show empty string

Zhigang Wang
Mon, 28 Jun 2010 06:13:14 -0000

Hi,

This patch makes the sxp parser show empty string.

Test case:

import sxp

sxp.show(sxp.from_string(''(a "")''))
sxp.show(sxp.from_string("(a '''')"))

Without this patch:

(a )(a )

With this patch:

(a '''')(a '''')

Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>

Thanks,

Zhigang


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com