From nobody Sun Jan 07 17:03:20 2024 X-Original-To: dev-commits-src-all@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 4T7Nn46R2qz55RRn; Sun, 7 Jan 2024 17:03:20 +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 4T7Nn45fyrz4GgJ; Sun, 7 Jan 2024 17:03:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704647000; 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=DLHi6Gt1o41mU6HOYfCW3qBrVw6o1looMLCehe4rafk=; b=kXhk8dcyAc9EIvFgkBg9sWxL9twkNWMwA0JZhNBv3Ig6tV1j4eFRjvfLZYiE29xl8jvYI0 lX7nkxO1Riao53I3lw0GxqOKBrIN69m+fmdJ3E9sdETpTvAq95LtVIo40AHGHNW1ebTvHA 9mVvlvxJ03c8paIP/fdHWuZqbEMm+M4CGRFaH+KBa5JwheiLFreZgv7nORoftDz1kHNm1b J8+/26iWRjiL5Pw0G7BAqzvGvOkQ8Q7LfUJLyp9hd5nQngE2pIuuSn3BxSIQGVWomlsJ9f AnF2ez8tulk7j1dC7U7u42l9kFR7TtP1a+GZqjhj/i9J4w3Yj5kKMLZzyG/l3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704647000; 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=DLHi6Gt1o41mU6HOYfCW3qBrVw6o1looMLCehe4rafk=; b=R72Ve38B7b8zGKuKgOMBk4S+nWDyAs4sZkvec9sFZJaMTPvRU2bvsHUC1amVvJ2tgUx2Id PG0iHAHYn9nDy+NuY2CSCOf2sGRW6hDQwqUkpQ2iGkREI2V1FmF7O3h5rZLuN1XTqnJAuG avqaF5qoijRBeF/hL6NMT6TLjNQdKTmteMVgxI74Pgl4ix2eWcRrzjzGIjZbemevuJ9KB+ lVJ2UURTA3D0ISIQsX4JI0t0mSEdf1vBwS7yDBO8Y4d4BOSHuZ6J/owqFoBsZp61lm9cqW BsKbBRTl7by8wPVQhZ6XJDyDz391BxkMakaL7sf55LmxuQmO5+CBSUlMxMGJGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704647000; a=rsa-sha256; cv=none; b=v9hQGDk+dw1pZr2nSCA/wLhIvner92fjNatj1795e7Rm5nnip3U5U7PKOvjz4ryetnBR2R dy0/VRaS6Bfm0rclX3YiB/U9k9lqJAcLunn9+dZztsGQ7ZC3w5+0Qwrt/v3NK14pefuPUR czSt8JlqyLkijs4l85Kv57y8eeWfaSDhCEGtDOiAiZMNnyW5jUG8Ol0TPI6Qgx9higAiVs /y3Vr1p3hq7OvL3fq1sHTsdOvoOh/oD4SS8YI8rGbI3UU0rSTHuhHhTwWC00srkZOBDhcz WabPdPfb5SG1JChkl4Ius0Eb9Wq3MaHm27GYM/jzt/W5A7GFGYKlUuxT2iuAMA== 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 4T7Nn44kzQzYMv; Sun, 7 Jan 2024 17:03:20 +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 407H3KTl045963; Sun, 7 Jan 2024 17:03:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 407H3KGq045960; Sun, 7 Jan 2024 17:03:20 GMT (envelope-from git) Date: Sun, 7 Jan 2024 17:03:20 GMT Message-Id: <202401071703.407H3KGq045960@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: 6418d08ae489 - stable/13 - libdtrace: Fix line number reporting in error messages List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/13 X-Git-Reftype: branch X-Git-Commit: 6418d08ae4897032b3dc772675b0ee92868e132c Auto-Submitted: auto-generated The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=6418d08ae4897032b3dc772675b0ee92868e132c commit 6418d08ae4897032b3dc772675b0ee92868e132c Author: Mark Johnston AuthorDate: 2023-12-31 17:37:06 +0000 Commit: Mark Johnston CommitDate: 2024-01-07 16:56:42 +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 */