From c8aa39e58736b14fa0825f528304926af91573ea Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 27 Jul 2016 16:06:04 +0200 Subject: Correct source map definition. --- docs/miscellaneous.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst index 9b067fb1..72ac61e8 100644 --- a/docs/miscellaneous.rst +++ b/docs/miscellaneous.rst @@ -130,7 +130,7 @@ index mentioned above. The encoding in the source mapping for the bytecode is more complicated: It is a list of ``s:l:f:j`` separated by ``;``. Each of these elements corresponds to an instruction, i.e. you cannot use the byte offset -but have to use the instruction offset or PC (program counter). +but have to use the instruction offset (push instructions are longer than a single byte). The fields ``s``, ``l`` and ``f`` are as above and ``j`` can be either ``i``, ``o`` or ``-`` signifying whether a jump instruction goes into a function, returns from a function or is a regular jump as part of e.g. a loop. -- cgit v1.2.3