diff options
author | Adrian Thurston <thurston@colm.net> | 2018-12-02 13:07:46 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2018-12-02 13:07:46 -0500 |
commit | 779a96e143c9aaccebd24f5de48dee04e46aeab6 (patch) | |
tree | f40c0e56edc71e7c2ff122d54622b52301747037 /src/bytecode.h | |
parent | c53140a12f434c08e01ef3c84cfd8456e6525531 (diff) | |
download | colm-779a96e143c9aaccebd24f5de48dee04e46aeab6.tar.gz |
make location file name and column available in Colm code
Diffstat (limited to 'src/bytecode.h')
-rw-r--r-- | src/bytecode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bytecode.h b/src/bytecode.h index 5a37fdea..8793c909 100644 --- a/src/bytecode.h +++ b/src/bytecode.h @@ -142,8 +142,10 @@ typedef unsigned char uchar; #define IN_SET_TOKEN_DATA_WV 0x38 #define IN_SET_TOKEN_DATA_BKT 0x39 -#define IN_GET_TOKEN_POS_R 0x3a +#define IN_GET_TOKEN_FILE_R 0x80 #define IN_GET_TOKEN_LINE_R 0x3b +#define IN_GET_TOKEN_POS_R 0x3a +#define IN_GET_TOKEN_COL_R 0x81 #define IN_INIT_RHS_EL 0x3c #define IN_INIT_LHS_EL 0x3d |