Fun 0.41.5
The programming language that makes You have fun
Loading...
Searching...
No Matches
line.c File Reference

Implements the OP_LINE pseudo-opcode to update the current source line. More...

Go to the source code of this file.

Variables

case OP_LINE
 break

Detailed Description

Implements the OP_LINE pseudo-opcode to update the current source line.

This snippet is included into the VM dispatch loop and handles the OP_LINE instruction. It records the source line number carried in the instruction's operand so that runtime errors and debugger output can reference the correct line in the original program.

Stack contract: none (does not read or write the VM value stack).

Definition in file line.c.

Variable Documentation

◆ break

break

Definition at line 25 of file line.c.

◆ OP_LINE

case OP_LINE

Definition at line 22 of file line.c.