1
0
Fork 0
forked from fun/fun

Added line numbers to debug and error output.

This commit is contained in:
Johannes Findeisen 2025-09-16 11:23:42 +02:00
commit 6b14c2776e
6 changed files with 52 additions and 3 deletions

5
src/vm/line.c Normal file
View file

@ -0,0 +1,5 @@
case OP_LINE: {
/* operand holds the source line number */
vm->current_line = inst.operand;
break;
}