From bc48604f7a74440da66aa7dba95a3bf634fdf138 Mon Sep 17 00:00:00 2001 From: Willem de Jong Date: Sun, 9 Oct 2011 12:31:27 +0200 Subject: [PATCH] improved handling of nil values. (Not 100% backward compatible.) Note: this changes the output of erlsom:scan() in case there are nil elements (xsi:nil=true) in the input. --- doc/erlsom.htm | 2322 +++++++++++++++++++++++----------------- src/erlsom_compile.erl | 4 +- src/erlsom_compile.hrl | 2 +- src/erlsom_parse.erl | 101 +- src/erlsom_parse.hrl | 2 +- src/erlsom_pass2.erl | 6 +- src/erlsom_write.erl | 111 +- 7 files changed, 1505 insertions(+), 1043 deletions(-) diff --git a/doc/erlsom.htm b/doc/erlsom.htm index 371218e..cf9d4d5 100644 --- a/doc/erlsom.htm +++ b/doc/erlsom.htm @@ -38,6 +38,7 @@ Normal + Clean Clean 21 @@ -162,6 +163,9 @@ mso-ascii-font-family:"Courier New"; mso-hansi-font-family:"Courier New"; mso-bidi-font-family:"Courier New";} +span.SpellE + {mso-style-name:""; + mso-spl-e:yes;} span.GramE {mso-style-name:""; mso-gram-e:yes;} @@ -245,7 +249,7 @@ mso-bidi-language:#0400;}