void check_match(int what, int who, int where) {
if (!testnext(what)) {
if (where == linenumber) {
error_expected(what);
} else {
<BUG>syntaxerror(L.pushfstring(LUA_QS(token2str(what))
</BUG>
+ " expected " + "(to close " + LUA_QS(token2str(who))
+ " at line " + where + ")"));
}

void check_match(int what, int who, int where) {
if (!testnext(what)) {
if (where == linenumber) {
error_expected(what);
} else {
throw syntaxerror(L.pushfstring(LUA_QS(token2str(what))
+ " expected " + "(to close " + LUA_QS(token2str(who))
+ " at line " + where + ")"));
