diff --git a/docs/bytecode.md b/docs/bytecode.md index 3cc6d10..485ee15 100644 --- a/docs/bytecode.md +++ b/docs/bytecode.md @@ -31,7 +31,7 @@ A peon bytecode file starts with the header, which is structured as follows: ### Line data section -The line data section contains information about each instruction in the code section and associatrs them +The line data section contains information about each instruction in the code section and associates them 1:1 with a line number in the original source file for easier debugging using run-length encoding. The section's size is fixed and is encoded at the beginning as a sequence of 4 bytes (i.e. a single 32 bit integer). The data in this section can be decoded as explained in [this file](../src/frontend/meta/bytecode.nim#L28), which is quoted