NULL, causing any labels at that point to point to the start of the section
instead of the current position!
svn path=/trunk/yasm/; revision=730
objext_valparams);
if (new_section) {
nasm_parser_cur_section = new_section;
- nasm_parser_prev_bc = (bytecode *)NULL;
+ nasm_parser_prev_bc = bcs_last(section_get_bytecodes(new_section));
} else
Error(_("invalid argument to [%s]"), "SECTION");
} else if (strcasecmp(name, "absolute") == 0) {
objext_valparams);
if (new_section) {
nasm_parser_cur_section = new_section;
- nasm_parser_prev_bc = (bytecode *)NULL;
+ nasm_parser_prev_bc = bcs_last(section_get_bytecodes(new_section));
} else
Error(_("invalid argument to [%s]"), "SECTION");
} else if (strcasecmp(name, "absolute") == 0) {