]> git.draconx.ca Git - cdecl99.git/commit
libcdecl: Use gperf %7bit option for keyword matching.
authorNick Bowler <nbowler@draconx.ca>
Thu, 22 Feb 2024 02:38:26 +0000 (21:38 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 22 Feb 2024 02:38:26 +0000 (21:38 -0500)
commit318e941af5ec3b0622212ba3d2968efd3c961587
treef1b5b37794cc0dfce23320142c879bbe7a99bcb3
parent1943156e7ba5c0318a54369a52297f74bad7b5b9
libcdecl: Use gperf %7bit option for keyword matching.

The scanner ensures all input to the keyword matching function consists
exclusively of alphanumeric characters, hyphens and underscores.

Since gperf supports only ISO-646 variants it should be safe to enable
7bit mode, which reduces the size of its generated tables substantially.
src/keywords.gperf