1
0
Fork 0
mirror of https://github.com/pnx/m16vm synced 2026-06-16 03:44:55 +02:00

src/as/lexer.h: in struct token: integer value can max be 8 bits wide.

This commit is contained in:
Henrik Hautakoski 2018-12-17 07:27:52 +01:00
parent 2c1c832493
commit e75349e7f9
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA

View file

@ -62,8 +62,8 @@ struct token {
* this can be a string or unsigned short
*/
union {
uint16_t n;
char s[32];
int8_t n;
char s[32];
} value;
};