git: ad3174ecea33 - main - libdtrace: Fix line number reporting in error messages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Dec 2023 18:01:49 UTC
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=ad3174ecea3374442b3504149fe2b5a9d9ec6f1e commit ad3174ecea3374442b3504149fe2b5a9d9ec6f1e Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2023-12-31 17:37:06 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2023-12-31 17:47:30 +0000 libdtrace: Fix line number reporting in error messages MFC after: 1 week --- 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 */