From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +MI/FAxgBWcxYAEAqHPOHw:P1 (envelope-from ) for ; Tue, 08 Oct 2024 18:38:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id +MI/FAxgBWcxYAEAqHPOHw (envelope-from ) for ; Tue, 08 Oct 2024 18:38:36 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=FXwF7P8y; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=btGOjaWP; 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=1728405516; 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:in-reply-to:in-reply-to: references:references:list-id:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=cQAszjWvhnnR781HErkvoOhwf/ojZhtSCVt8jTywkAc=; b=i3ZLL8aJ2fNBvE/hkC1DncX+2Hqv2PvT1ihcY98v81JZgYEDHNTBCTpMdTERgT5/wl9YE8 bMpztrmbvN1wTUplsND67GdKrs1Gsj+Bx6NbvtpSShLl1UJZBjBX8sCKyFdU7+t6PzjXj2 yITulP4ddn5Y2cq8MeSLQXukZg+mn5VhOWxsjyyQVY0RN3ENmWaX/4hGfURSdJN1ZgaaNg ofOSNNPxjmJmQ93SezxRqVbB9C0fvWo+oXgb6wqDgy/cnMp6V6hWluSZAC54QkVsXlXe7R mzGMYlZ5CqFooMjCKwxANVmkZRkt2tLGvKUb9l1XTT9fCimSAktTM3tNhA3oOA== ARC-Seal: i=1; s=key1; d=johnnyrichard.com; t=1728405516; a=rsa-sha256; cv=none; b=ikfCbFp5iNQzPH7UmEu+RZbi9APNp3zgOMZVP+g9ASQSnDvRVR2h2uheMp+JjrDPil0C7e FpzTLdMrrqxpu0XSvm8NV9pmIJ9zfx1VV8NqWZHafYzzGPRU4oWzMfzxxrfTU0OG0UF2tu odSSxYqPiUdOKHbeMCppUxjuaM7TE7vJCOP8nNRZ+isdKIoPyWoH5CxU4KofR3AbCI5KzG kKm/WeAVjN6xvUquOuNJXL0aW/xibzNrrxdjvPftVoSWUFJaLrdVDffO/Mz1ddEOjoHawe 9yi0TtzO+TdomsPxBO+LFhFOnIPSR+RC2Fzpf1uDnVBGXYYW9Ms47q5BFwCcOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=FXwF7P8y; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=btGOjaWP; 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 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 E770C575B6 for ; Tue, 08 Oct 2024 18:38:35 +0200 (CEST) DKIM-Signature: a=rsa-sha256; bh=4TU0hKWWo3e2aGU/NecPdIJG1c6VP487Elg1+4ypcBw=; 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=1728405515; v=1; b=FXwF7P8yHRkZF7D62GXm6ZKviCAKJIMvzDSqdk6bR0YQ9iBbLcbNEs9PTH58Rt46lZQT4N1P Mi+MDooG1bBrq5xRJTAaU+3JuMljlVJdlIMicfNO9nTD8zHMcOfbyideSq5UpIC1ytMV9/VKxfw Z7TtJhfFfdnVm656qi3KZixkD8M4fGf3vxdtCnIy4z7ZbkfeofVVCUOivt+0186GCm4RFlR06Qd f9T82FwhQlidV5r8C3gCNy3/J1Gd5zpeayCOqpLaR3EY8kyjG31AUgn/kUzRK+74mO3lDntZJVb nQ+LTiDUgBzAvG8x1s9CDgrwJHWuayPJyMWCWapx2w6Dw== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 38CFD20185 for ; Tue, 08 Oct 2024 16:38:35 +0000 (UTC) Received: from out-181.mta0.migadu.com (out-181.mta0.migadu.com [91.218.175.181]) by mail-a.sr.ht (Postfix) with ESMTPS id 73BC320156 for <~johnnyrichard/olang-devel@lists.sr.ht>; Tue, 08 Oct 2024 16:38:34 +0000 (UTC) Date: Tue, 8 Oct 2024 20:38:06 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1728405513; 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: in-reply-to:in-reply-to:references:references; bh=cQAszjWvhnnR781HErkvoOhwf/ojZhtSCVt8jTywkAc=; b=btGOjaWPKIE4z+JFXVrkINTNMzVblPF8HmVyOlygxApkQqW/UKOXFHvI07CxwfdgAaKFUu TqYyxZ/X8w8NWwMyQrkjf3S0H0DOUKh6kw5IOQrX1LflBEM1lkECIOsiPZ9WtDKXMpOjW/ IgafKiv1sMt1CmoI6deKqr/UktmZvm56EJOTHFef48lbu8UEHvMZLlILpT/EXFGW7ce92v trW65+bHo0oJlWig2bnrYl3fEw2yJwARdA8OKEtOXXB2X5/JRj+krUz0CfhVtDMfmaJdvD AdmdNqPyR7IDTyEJtgReePgZnvxsaH66gzZWc6YVO2x0BqplM+IsMB9NkQ5CRQ== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Johnny Richard To: Carlos Maniero Cc: ~johnnyrichard/olang-devel@lists.sr.ht Subject: Re: [PATCH olang] parser: conform block line feeds with the spec Message-ID: X-Sourcehut-Patchset-Update: APPLIED References: <20241008163307.76735-1-carlos@maniero.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241008163307.76735-1-carlos@maniero.me> 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-Spam-Score: -5.90 X-Spam-Score: -5.90 X-Migadu-Queue-Id: E770C575B6 X-Migadu-Scanner: mx13.migadu.com X-TUID: jc4QoPI6m9+o Thanks. applied with a format-fix To git.sr.ht:~johnnyrichard/olang 3c8975b..f0a565d main -> main ---->8---- Subject: [PATCH olang] fixup! parser: conform block line feeds with the spec diff --git a/src/parser.c b/src/parser.c index 2096129..94e8a1e 100644 --- a/src/parser.c +++ b/src/parser.c @@ -571,7 +571,6 @@ parser_parse_if_stmt(parser_t *parser) if (_else == NULL) { return NULL; } - } ast_node_t *node_if_stmt = ast_new_node_if_stmt(parser->arena, token_if.loc, cond, then, _else);