mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
parent
e6b8c7b64e
commit
e12713d70b
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ void program::set_wrap(const yy::location &l) {
|
||||||
throw syntax_error(l, msg.str());
|
throw syntax_error(l, msg.str());
|
||||||
}
|
}
|
||||||
if (instructions.empty()) {
|
if (instructions.empty()) {
|
||||||
throw syntax_error(l, ".wrap cannot be pleaced before the first program instruction");
|
throw syntax_error(l, ".wrap cannot be placed before the first program instruction");
|
||||||
}
|
}
|
||||||
wrap = resolvable_int(l, instructions.size() - 1);
|
wrap = resolvable_int(l, instructions.size() - 1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue