Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@ryansg.com>2020-01-15 16:32:46 -0500
committerMike Gerwitz <mike.gerwitz@ryansg.com>2020-02-26 10:49:01 -0500
commit19a6d67dc44214f905d0fb3aab09dd4c23eb4ae9 (patch)
treebc091603d24ae9d996eb95694a15fc1e320b5c26 /tamer/src/ld/poc.rs
parent7c60b53de8c9de0b788b9b57d10d1b99ded8b3ee (diff)
downloadtame-19a6d67dc44214f905d0fb3aab09dd4c23eb4ae9.tar.gz
tame-19a6d67dc44214f905d0fb3aab09dd4c23eb4ae9.tar.bz2
tame-19a6d67dc44214f905d0fb3aab09dd4c23eb4ae9.zip
TAMER: Separate static xmle section
Diffstat (limited to 'tamer/src/ld/poc.rs')
-rw-r--r--tamer/src/ld/poc.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tamer/src/ld/poc.rs b/tamer/src/ld/poc.rs
index df4fd67..7dd764b 100644
--- a/tamer/src/ld/poc.rs
+++ b/tamer/src/ld/poc.rs
@@ -512,13 +512,17 @@ fn output_xmle<'a, 'i, I: Interner<'i>>(
}
writer.write_event(Event::End(BytesEnd::borrowed(b"l:retmap-exec")))?;
- writer.write_event(Event::Start(BytesStart::borrowed_name(b"l:exec")))?;
+ writer.write_event(Event::Start(BytesStart::borrowed_name(b"l:static")))?;
write_fragments(&mut writer, &sorted.meta)?;
write_fragments(&mut writer, &sorted.worksheet)?;
write_fragments(&mut writer, &sorted.params)?;
write_fragments(&mut writer, &sorted.types)?;
write_fragments(&mut writer, &sorted.funcs)?;
+
+ writer.write_event(Event::End(BytesEnd::borrowed(b"l:static")))?;
+ writer.write_event(Event::Start(BytesStart::borrowed_name(b"l:exec")))?;
+
write_fragments(&mut writer, &sorted.rater)?;
writer.write_event(Event::End(BytesEnd::borrowed(b"l:exec")))?;