Page MenuHomeFreeBSD

byacc: Disable backtracking extension.
ClosedPublic

Authored by des on Mar 6 2023, 6:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 10, 2:07 AM
Unknown Object (File)
Dec 20 2025, 5:56 PM
Unknown Object (File)
Dec 20 2025, 3:04 PM
Unknown Object (File)
Dec 11 2025, 5:44 AM
Unknown Object (File)
Nov 29 2025, 11:33 AM
Unknown Object (File)
Nov 29 2025, 5:05 AM
Unknown Object (File)
Nov 26 2025, 8:32 PM
Unknown Object (File)
Nov 26 2025, 9:18 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Mar 6 2023, 6:11 PM
This revision is now accepted and ready to land.Mar 6 2023, 7:06 PM

I believe that dtc uses (or used) it?
But not in base, and the port already does the right workarounds.

This revision was automatically updated to reflect the committed changes.