diff options
author | Mark Johnston <markj@FreeBSD.org> | 2023-12-31 17:37:06 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2024-01-07 16:56:42 +0000 |
commit | 6418d08ae4897032b3dc772675b0ee92868e132c (patch) | |
tree | 9b7a292069e5b816be4f51412f805cf000c25960 /cddl/contrib/opensolaris | |
parent | c8bfd3fda78cd89cfc9d419a26946603c2124b10 (diff) | |
download | src-6418d08ae4897032b3dc772675b0ee92868e132c.tar.gz src-6418d08ae4897032b3dc772675b0ee92868e132c.zip |
libdtrace: Fix line number reporting in error messages
MFC after: 1 week
(cherry picked from commit ad3174ecea3374442b3504149fe2b5a9d9ec6f1e)
Diffstat (limited to 'cddl/contrib/opensolaris')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libdtrace/common/dt_lex.l | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |