Add missing scanner variable to makeToken
@@ -422,7 +422,7 @@ Token scanToken(Scanner *scanner) {
return makeToken(scanner, TOKEN_EQUAL);
}
case '?':
- return makeToken(TOKEN_QUESTION);
+ return makeToken(scanner, TOKEN_QUESTION);
case '<':
return makeToken(scanner, match(scanner, '=') ? TOKEN_LESS_EQUAL : TOKEN_LESS);
case '>':
