Added line numbers to debug and error output.
This commit is contained in:
parent
1958850d87
commit
6b14c2776e
6 changed files with 52 additions and 3 deletions
5
src/vm/line.c
Normal file
5
src/vm/line.c
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
case OP_LINE: {
|
||||
/* operand holds the source line number */
|
||||
vm->current_line = inst.operand;
|
||||
break;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue