Associate a filename with VM instructions.
All checks were successful
The build was successful.

This commit is contained in:
2018-08-27 06:45:53 +02:00
parent f552c54992
commit 3f7bac2d85
2 changed files with 13 additions and 5 deletions

View File

@@ -1119,11 +1119,12 @@ struct ph7_class_instance {
*/
typedef struct VmInstr VmInstr;
struct VmInstr {
sxu8 iOp; /* Operation to preform */
sxi32 iP1; /* First operand */
sxu32 iP2; /* Second operand (Often the jump destination) */
sxu32 iLine; /* Line number */
void *p3; /* Third operand (Often Upper layer private data) */
sxu8 iOp; /* Operation to preform */
sxi32 iP1; /* First operand */
sxu32 iP2; /* Second operand (Often the jump destination) */
void *p3; /* Third operand (Often Upper layer private data) */
SyString *pFile; /* File name */
sxu32 iLine; /* Line number */
};
/* Each active class instance attribute is represented by an instance
* of the following structure.