parent
e6b8c7b64e
commit
e12713d70b
@ -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…
Reference in New Issue
Block a user