1
0
Fork 0
mirror of https://github.com/pnx/m16vm synced 2026-07-03 11:43:39 +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,7 +62,7 @@ struct token {
* this can be a string or unsigned short * this can be a string or unsigned short
*/ */
union { union {
uint16_t n; int8_t n;
char s[32]; char s[32];
} value; } value;
}; };