Skip to content

Commit

Permalink
Specify target in use definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
dillof committed Aug 9, 2024
1 parent b5e08a3 commit 3ec53c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StringEncoding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ void StringEncoding::import_base(const Token& base_token, const std::shared_ptr<
case 5:
if ((*use_range)[1] == Token::minus && (*use_range)[3] == Token::colon) {
end = get_uint8((*use_range)[2]);
offset = get_uint8((*use_range)[4]);
offset = get_uint8((*use_range)[4]) - start;
}
else {
throw ParseException(use_range_v->location, "invalid use range");
Expand Down

0 comments on commit 3ec53c9

Please sign in to comment.