aboutsummaryrefslogtreecommitdiffstats
path: root/resources/wasm.xml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--resources/wasm.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/wasm.xml b/resources/wasm.xml
index 6748ecb..58ff35c 100644
--- a/resources/wasm.xml
+++ b/resources/wasm.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<wasm:Structure xmlns:wasm="http://www.w3.org/2001/XMLSchema">
<Read>
- <Magic_Number name="magic_number" encoding="leb128u" type="uint32" size="4"></Magic_Number>
- <Version name="version" type="uint32" encoding="leb128u" size="4"></Version>
+ <Magic_Number name="magic_number" type="uint32" count="1"></Magic_Number>
+ <Version name="version" type="uint32" encoding="leb128u" count="1"></Version>
<Type_Section name="W_Type_Section" count="1" type="" isaggregate="true">
<Count name="count" encoding="leb128u" type="uint32" count="1"/>
<Type_Section_Entry count="self::Count" type="self::Type_Section_Entry" name="entries"/>
@@ -51,7 +51,7 @@
<Definition>
<Init_Expr name="init_expr_t" isaggregate="true">
<Size name="size" encoding="leb128u" type="varuint32" count="1"></Size>
- <Code name="code" type="string" coutn="1" size="self::Size"></Code>
+ <Code name="code" type="string" count="self::Size"></Code>
</Init_Expr>
<Resizable_Limit name="resizable_limit_t" isaggregate="true">
<Flags name="flags" encoding="leb128u" type="uint8" count="1"></Flags>