aboutsummaryrefslogtreecommitdiff
path: root/src/bytecode/bytecode.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-08-18 06:37:58 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commitd4d33a89586b5210d1f0bc81d95fa2b640da659b (patch)
tree1502737b7a9e34493665ce88b66c2e0d80d31118 /src/bytecode/bytecode.c
parent04b7ba96dbabea540f96ba7f72a220f067e9aaf8 (diff)
Cleanup on test failure
Diffstat (limited to 'src/bytecode/bytecode.c')
-rw-r--r--src/bytecode/bytecode.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/bytecode/bytecode.c b/src/bytecode/bytecode.c
index edc8dba..8daa4ce 100644
--- a/src/bytecode/bytecode.c
+++ b/src/bytecode/bytecode.c
@@ -107,11 +107,11 @@ static void add_intermediates(BytecodeCompilerContext *self) {
static void add_strings(BytecodeCompilerContext *self) {
/*doc(Bytecode strings)
# Strings layout
- |Type |Field |Description |
- |-------|-----------------|------------------------------------------------------------------|
- |u16 |Number of strings|The number of strings. |
- |u32 |Strings size |The size of the strings section, in bytes. |
- |String*|Strings data |Multiple strings, where the total size is defined by @Strings size|
+ |Type |Field |Description |
+ |------|-----------------|------------------------------------------------------------------|
+ |u16 |Number of strings|The number of strings. |
+ |u32 |Strings size |The size of the strings section, in bytes. |
+ |String|Strings data |Multiple strings, where the total size is defined by @Strings size|
# String
|Type|Field|Description |
@@ -163,11 +163,11 @@ static void add_functions(BytecodeCompilerContext *self) {
static void add_extern_functions(BytecodeCompilerContext *self) {
/*doc(Bytecode external functions)
# External functions layout
- |Type |Field |Description |
- |------------------|------------------|-----------------------------------------------------------------------------------------|
- |u16 |num_extern_func |The number of external functions. |
- |u32 |extern_funcs_size |The size of the external functions section, in bytes. |
- |External function*|External functions|Multiple external functions, where the number of functions is defined by @num_extern_func|
+ |Type |Field |Description |
+ |-----------------|------------------|-----------------------------------------------------------------------------------------|
+ |u16 |num_extern_func |The number of external functions. |
+ |u32 |extern_funcs_size |The size of the external functions section, in bytes. |
+ |External function|External functions|Multiple external functions, where the number of functions is defined by @num_extern_func|
# External function
|Type|Field |Description |