From 866519b1da5180321e6d07ab246b0d7a4340b00a Mon Sep 17 00:00:00 2001 From: Mattia Giambirtone Date: Mon, 23 May 2022 23:15:09 +0200 Subject: [PATCH] Fixed typo --- docs/bytecode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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