Skip to content

Commit

Permalink
Use gperf 3.1 to generate ANSI-C code
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jun 21, 2024
1 parent 8e5efd4 commit 5d67437
Show file tree
Hide file tree
Showing 3 changed files with 318 additions and 337 deletions.
2 changes: 1 addition & 1 deletion ext/date/prereq.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.SUFFIXES: .list

.list.h:
gperf --ignore-case -C -c -P -p -j1 -i 1 -g -o -t -N $(*F) $< \
gperf --ignore-case -L ANSI-C -C -c -P -p -j1 -i 1 -g -o -t -N $(*F) $< \
| sed -f $(top_srcdir)/tool/gperf.sed \
> $(@F)

Expand Down
Loading

0 comments on commit 5d67437

Please sign in to comment.