From 3dd1b63710fae36aa3cf7eac34a7677818fbd962 Mon Sep 17 00:00:00 2001 From: kobaken Date: Sat, 24 Aug 2024 22:10:58 +0900 Subject: [PATCH] Fixed is_strict def. > lib/Syntax/Keyword/Assert.xs:8:28: error: expected declaration specifiers or '...' before ')' token > 8 | static bool is_strict(pTHX_) > | ^ --- lib/Syntax/Keyword/Assert.xs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Syntax/Keyword/Assert.xs b/lib/Syntax/Keyword/Assert.xs index 0293690..c966c7b 100644 --- a/lib/Syntax/Keyword/Assert.xs +++ b/lib/Syntax/Keyword/Assert.xs @@ -5,7 +5,7 @@ #include "XSParseKeyword.h" -static bool is_strict(pTHX_) +static bool is_strict(pTHX) { dSP; @@ -39,7 +39,7 @@ static OP *make_xcroak(pTHX_ OP *msg) static int build_assert(pTHX_ OP **out, XSParseKeywordPiece *arg0, void *hookdata) { - if (is_strict(aTHX_)) { + if (is_strict(aTHX)) { // build the following code: // // Syntax::Keyword::Assert::_croak "Assertion failed"