git: 473a2c9a40e8 - main - byacc: Disable backtracking extension.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Mar 2023 17:21:42 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=473a2c9a40e8413c8dec340472b0b0970536eafb
commit 473a2c9a40e8413c8dec340472b0b0970536eafb
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2023-03-07 16:04:24 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2023-03-07 17:20:49 +0000
byacc: Disable backtracking extension.
When updating byacc to 20230201, I enabled the backtracking extension as it seemed useful and harmless. With a little more experience, it appears to have more impact than I initially thought and I'm no longer sure how useful it really is, so turn it back off.
PR: 244149, 269425
Sponsored by: Klara, Inc.
Reviewed by: imp, jkim
Differential Revision: https://reviews.freebsd.org/D38931
---
usr.bin/yacc/config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr.bin/yacc/config.h b/usr.bin/yacc/config.h
index 49714b024802..c510439659ec 100644
--- a/usr.bin/yacc/config.h
+++ b/usr.bin/yacc/config.h
@@ -105,7 +105,7 @@
/* #undef USE_VALGRIND */
/* Define to 1 to enable backtracking extension */
-#define YYBTYACC 1
+/* #undef YYBTYACC */
/* Define to 1 if you want to perform memory-leak testing. */
/* #undef YY_NO_LEAKS */