From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4PANMJSQBWZcDAEAqHPOHw:P1 (envelope-from ) for ; Thu, 28 Mar 2024 16:45:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4PANMJSQBWZcDAEAqHPOHw (envelope-from ) for ; Thu, 28 Mar 2024 16:45:24 +0100 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=XCr3bZJx; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=YvZ2lWCm; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1711640724; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Zy73h6hcE4tlilz9b7jsntTW8JTyaWncCe2odlFyE+0=; b=QKzkp8d+WHNDbyXgjmROH30REOMYpgUtIOy+GNMZgrydBKduXIYmYds8x3uvn2aqr0lDhB ITXwzV5U2H6DtE1UXBugsKvzvPqg7aIToRVgbNKFsI77IWoX8GhobdChe5RHaqOoZqFS4j bTc/InVynn/imiU80KrTrHf8h/nQIz/M95Xf3tAix0JUmv6xlxFjHyOePFGdXpPE72BSCp SOZ1AucCSnQmNMlyKgdzuNNPStM1HXQcGcWFvXw245SR2uc/+5MLlVrYHKqtrLHRMjVVVY DAWC7G2yBUFEo9tazniJQ0bTJke2giVSA/Z/luIIrQOq1AEeEnjPMDENDIa51w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=XCr3bZJx; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=YvZ2lWCm; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com ARC-Seal: i=1; s=key1; d=johnnyrichard.com; t=1711640724; a=rsa-sha256; cv=none; b=G3ZRTE8SZk6YsjFSlZqSMpKbzKGR5vzyysHHCZ5YDdAcioAultl84eOKUZGOOyBBx/fwdt +njIbxihGe0Vis08LScdy6l45yxGCK0Zb3lLfaUIr63rTSLcW02tCIFjPPEDH2jFilOwYn QiRqIH57Prn2OsTaK9wa+9GoZ67pkoPdSwyxmCcyvXsYCzorkoGESt5AAnIHOPp2g+qIpJ a+BIm19HNBFAiYoEZIL45m3k4FO+ej11QoYiCAxtGRmk0N+gdDCx9SV+oIRgIO5aS7rLXD YyTqLmvlDNwbb3EjmNhhSFnj7T/v1BW8CcmuiRh/afeOrGwvvyD3knnWYaelgQ== Received: from mail-a.sr.ht (mail-a.sr.ht [46.23.81.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 38ACB3CA01 for ; Thu, 28 Mar 2024 16:45:24 +0100 (CET) DKIM-Signature: a=rsa-sha256; bh=DA4FYXZfW66rYd9OYzRZl3H1gNGnSlTBnWMLESAbfGg=; c=simple/simple; d=lists.sr.ht; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1711640724; v=1; b=XCr3bZJxXBbRLLI7+FNBMLXQbMiQ/AGyB8BTm5MAmiasxTp0rtK1wbS4JQuycmtZ0HIff8dL 8OgfxegQs7GQy122liCMCi2GnQU3eom3OnhQyvEUHgXJqO5VN3iUQqssMSTEoFHr9C0evHjSOrE /eD5zTwbbIM10V7FdABmsrCuslTM66yNjMuYx1XdGGv5o7Ew+CHq1vumtciiitugmYsd7fntp0K yU/urYnxuQmM7VRw1448yV8c6Ihq0EKff2mG6OHfHEymGP1/O4VCKw70hHdbhlhWflUU7RWE+d9 1zyICiPUWx84yrA11kol+GE6z6LaF/0Q+RQKo3SXndWiw== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 06349202EA for ; Thu, 28 Mar 2024 15:45:24 +0000 (UTC) Received: from out-177.mta1.migadu.com (out-177.mta1.migadu.com [95.215.58.177]) by mail-a.sr.ht (Postfix) with ESMTPS id 3AD0620269 for <~johnnyrichard/olang-devel@lists.sr.ht>; Thu, 28 Mar 2024 15:45:23 +0000 (UTC) Date: Thu, 28 Mar 2024 17:46:02 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1711640721; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Zy73h6hcE4tlilz9b7jsntTW8JTyaWncCe2odlFyE+0=; b=YvZ2lWCmITqcMiIbekTWht/rLku8PXJQtUbXPRvTs0i9yGBs+kouvejsJrxFHAzxeHtG1w 0R40R3NtVyzth6+SD1obOz9uxf1oDo4ajBkWTKNvUN9B8uHv8TZxwpMqNaRDpDHzBFqNr2 ZNFGdAMH8ixzwmbR1kViXPlo1WfFtLgS9Sj8MB7dCFBti1XMdnNiCEY+57DBj4QGdy3ogs fIqBk5xhZoAuVq5JtorAX+4qwMLTEWs7o+QX87y156EUJRxWZUr3GlYyyhXAz6G0GgEf45 4QhAEdAovTmmecc7S/grX9M7nBIcmrX3E4bCkYkM0WiBE6VJtD/zOv7uQ1ID9A== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Johnny Richard To: "builds.sr.ht" Cc: ~johnnyrichard/olang-devel@lists.sr.ht Subject: Re: [olang/patches/.build.yml] build failed Message-ID: References: <20240328155859.607264-1-johnny@johnnyrichard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Sourcehut-Patchset-Status: UNKNOWN List-Unsubscribe: List-Subscribe: List-Archive: Archived-At: List-Post: List-ID: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel.lists.sr.ht> Sender: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel@lists.sr.ht> X-Migadu-Flow: FLOW_IN X-Migadu-Country: NL X-Migadu-Queue-Id: 38ACB3CA01 X-Spam-Score: -10.10 X-Migadu-Spam-Score: -10.10 X-Migadu-Scanner: mx11.migadu.com X-TUID: 5nMbTvL6vpMf On Thu, Mar 28, 2024 at 02:59:02PM +0000, builds.sr.ht wrote: > olang/patches/.build.yml: FAILED in 36s > > [fe: lexer: add single line comments support][0] from [Johnny Richard][1] > > [0]: https://lists.sr.ht/~johnnyrichard/olang-devel/patches/50503 > [1]: mailto:johnny@johnnyrichard.com > > ✗ #1181030 FAILED olang/patches/.build.yml https://builds.sr.ht/~johnnyrichard/job/1181030 This build is failing due to a clang bumped version on Arch Linux repositories. It was a major bump from 16 to 17 (it has breaking changes). We can solve this problem by fixing the version or by bumping our clang locally. I will upgrade my clang meanwhile. Please, consider the patch to fix it. ---->8---- Subject: [PATCH olang] fixup! fe: lexer: add single line comments support diff --git a/src/pretty_print_ast.c b/src/pretty_print_ast.c index e950796..129f090 100644 --- a/src/pretty_print_ast.c +++ b/src/pretty_print_ast.c @@ -26,7 +26,7 @@ #define ANSI_COLOR_MAGENTA "\x1b[35m" #define ANSI_COLOR_RESET "\x1b[0m" -#define PP_IS_BIT_SET(data, index) ((data)&1 << index) +#define PP_IS_BIT_SET(data, index) ((data) & 1 << index) typedef struct pretty_print_node {