From nobody Sun Jan 07 16:58:10 2024 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T7Ng66WhWz55QXy; Sun, 7 Jan 2024 16:58:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T7Ng64bxZz4DXG; Sun, 7 Jan 2024 16:58:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704646690; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OXgwEgPascPWwEMFsFrLbM2IhqFNoR0ziHWtq0aPyo8=; b=ZGSGbvbad1LNzE0QAkIV0vaao0pcVVidh7DNHM/3R4h4EFMPRyuOtR3W2aa9fOqqyLHri3 Z8qIbt1KMj/GxGqctTvoC8uwNxRVGSSIsAQwpU/V1SGh6bLpg+0tMJrCrYsY0m3Y6xmY7S iJlnOM5vSRFl9JbaNsEmUmAPj2jio4BhnfEfpfrCSYIxZXeBnPLiQAAfqymFbnJQCdCWy8 ypPMrHi2pApD3sTADuIDu7j/93r2pG6yKxEX4tHhy9HDvnZWW9XJ6RKsiIPUnrOJnSrrTM SGnWoqvF7/78sY9DdHWtoJDmyhrZI3ba4sdbrd4FYyD1wf1a6dxi/CY9ms64aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704646690; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OXgwEgPascPWwEMFsFrLbM2IhqFNoR0ziHWtq0aPyo8=; b=sWVDZ67wqec8tBOJ8JQkKPjXwUYxNaKPJb4oy62YKTXa72rUEXB5L7T98W+ptI/Wct0wqj kBhEss8GxTrZmiNIAWBNVXdQlnybCz9UfsrEzeWnZbWK0EAP5bYEZE35SXA2BAZbZ8Mlfi 3sYAPhFAWGBYijD0jfsgC9Dshg4ilLIRQw9V/kprnZGlvTF8fMmkeBPrRbXeYjCt017hzZ dp3E8jsQ7B39xFbT7+RyP1It2c3mwR+UR/Ac5pbLa3adMxvRlKkFvl9TF0BUeO4YK6kpqY qBA0ECZK2CPSul0Tb+VppHolWCjKVWu6Xc+fbCjiG3XixHWCKwdDsQqQIVy9Sw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704646690; a=rsa-sha256; cv=none; b=ZOirw1z2ISjClUYA+j3AAplaqr6fmez1oYTFPZy7aqg+M70H+TOMT89BpwmZzbozAMsmZX IfJwbNy+1Cqk5Ja8nmL3SEeiGVGEudaH5/0bgi8napVTV2urp+Ka8qCAMBzWw+/+0HmEHk /f5yM/ZZvl6HAb0/cDLn2lswIcR9Akkfbn0t3vKGOBPlRuksIX5HAPrqITsNpngRDvjfgA dTyJsncPPfj7u3LLbsW4rQ/NwP4wY589LzK5hj6tywJqL4dzRKV87id6frYxGd7nOp1iUm OCie1E82K1iK2GUimHBltZz7xXaW/UsXRp0jfk6WH8t2UarOMbycZXiut6Eaqw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T7Ng63fPhzXGc; Sun, 7 Jan 2024 16:58:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 407GwAfD029098; Sun, 7 Jan 2024 16:58:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 407GwADI029095; Sun, 7 Jan 2024 16:58:10 GMT (envelope-from git) Date: Sun, 7 Jan 2024 16:58:10 GMT Message-Id: <202401071658.407GwADI029095@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: b44542d3dfc7 - stable/14 - libdtrace: Fix line number reporting in error messages List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: b44542d3dfc77012b6e63f51969daf2a38b6db2f Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=b44542d3dfc77012b6e63f51969daf2a38b6db2f commit b44542d3dfc77012b6e63f51969daf2a38b6db2f Author: Mark Johnston AuthorDate: 2023-12-31 17:37:06 +0000 Commit: Mark Johnston CommitDate: 2024-01-07 16:55:57 +0000 libdtrace: Fix line number reporting in error messages MFC after: 1 week (cherry picked from commit ad3174ecea3374442b3504149fe2b5a9d9ec6f1e) --- cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l index 7dcf21652586..d50369bb57c9 100644 --- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l +++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l @@ -97,6 +97,8 @@ static void unput(int); */ %} +%option yylineno + %e 1500 /* maximum nodes */ %p 4900 /* maximum positions */ %n 600 /* maximum states */