Verified Commit 5cc7737b authored by Camil Staps's avatar Camil Staps 🚀

Parse characters unsigned (fixes #83; otherwise character constants become...

Parse characters unsigned (fixes #83; otherwise character constants become negative in prelinked bytecode)
parent 19afbecc
Pipeline #27633 passed with stages
in 13 minutes and 34 seconds
......@@ -393,7 +393,7 @@ int parse_program(struct parser *state, struct char_provider *cp) {
#ifdef LINKER
store_code_elem(1, elem8);
#else
state->program->code[state->ptr++] = elem8;
state->program->code[state->ptr++] = (unsigned char) elem8;
#endif
break;
case 'i':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment