]> git.draconx.ca Git - cdecl99.git/commitdiff
libcdecl: Avoid duplicating keyword strings w/ gperf.
authorNick Bowler <nbowler@draconx.ca>
Tue, 11 Jul 2023 04:57:04 +0000 (00:57 -0400)
committerNick Bowler <nbowler@draconx.ca>
Tue, 11 Jul 2023 05:25:53 +0000 (01:25 -0400)
The string table generated by gperf is quite redundant: since we already
resolved to the parser token, we can easily get the string from the
parser's token name table.

Unfortunately gperf provides no options to customize the string table
generation to the extent needed, so let's continue our theme of post-
processing everything in awk.


No differences found