This commit is contained in:
blueloveTH 2024-06-09 15:27:53 +08:00
parent c2be07b9cc
commit 8a049b06bd
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,8 @@
#include "pocketpy/common/config.h"
#include "pocketpy/interpreter/vm.hpp"
#include <cstdarg>
namespace pkpy {
#define consume(expected) if(!match(expected)) return SyntaxError("expected '%s', got '%s'", TK_STR(expected), TK_STR(curr().type));

View File

@ -2,6 +2,8 @@
#include "pocketpy/common/gil.hpp"
#include "pocketpy/common/version.h"
#include <cstdarg>
namespace pkpy {
// clang-format off