bugzilla-daemon at netfilter.org
2020-Sep-23 15:33 UTC
[Bug 1469] New: Bison reported unused tokens in `nft`
https://bugzilla.netfilter.org/show_bug.cgi?id=1469 Bug ID: 1469 Summary: Bison reported unused tokens in `nft` Product: nftables Version: unspecified Hardware: All OS: All Status: NEW Severity: trivial Priority: P5 Component: nft Assignee: pablo at netfilter.org Reporter: s.egbert at sbcglobal.net This is not a functional issue but a potential dead code issue. I do not claim to know the future of these dead code but only to point them out in the case that someone forgot them. I ran the `bison` analyzer as followed: ```bash cd nftables/src bison --update parser_bison.y bison -x parser_bison.y xsltproc /usr/share/bison/xslt/xml2xhtml.xsl parser_bison.xml > parser_bison.html firefox parser_bison.html ``` And got the following report under `Reduction` section: ```console Terminals unused in grammar "junk" "!" "nanosecond" "microsecond" "millisecond" ``` I was investigating constructing a Graphviz modeling of all the `nft` keywords. -- You are receiving this mail because: You are watching all bug changes. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20200923/97840ec3/attachment.html>
bugzilla-daemon at netfilter.org
2020-Sep-23 15:39 UTC
[Bug 1469] Bison reported unused tokens in `nft`
https://bugzilla.netfilter.org/show_bug.cgi?id=1469 --- Comment #1 from Egbert S <s.egbert at sbcglobal.net> --- Side note: Just to let you know that using `parser_bison.y` file, the bison utility has outputted a 966KB SVG file that practically broke all Linux-based SVG viewers. Also it created a 119MB PNG and 41MB GIF which cannot be rendered sharp enough to see the workings. parser_bison.gif: GIF image data, version 89a, 10124 x 32767 parser_bison.png: PNG image data, 10124 x 32767, 8-bit/color RGB, non-interlaced -- You are receiving this mail because: You are watching all bug changes. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20200923/20365cdc/attachment.html>
Reasonably Related Threads
- [Bug 1079] New: nft-0.6: segfault on add rule ip filter INPUT ip protocol igmp counter accept
- [ANNOUNCE] nftables 1.1.0 release
- [ANNOUNCE] nftables 0.7 release
- upsd flapping in the breeze
- [Bug 1671] New: Implicit chains and nesting result in parser_bison.y aborting