mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
When the option -k is not given, the default key positions are now computed
depending on the set of keywords.
This commit is contained in:
@@ -135,7 +135,7 @@ check-test:
|
||||
diff $(srcdir)/java.exp java.out
|
||||
$(GPERF) -n -k1-8 -l < $(srcdir)/modula2.gperf > modula2.out
|
||||
diff $(srcdir)/modula2.exp modula2.out
|
||||
$(GPERF) -D -p -t < $(srcdir)/c-parse.gperf > test-4.out
|
||||
$(GPERF) -D -p -t -k1,'$$' < $(srcdir)/c-parse.gperf > test-4.out
|
||||
diff $(srcdir)/test-4.exp test-4.out
|
||||
$(GPERF) -g -o -j1 -t -p -N is_reserved_word < $(srcdir)/gpc.gperf > gpc.out
|
||||
diff $(srcdir)/gpc.exp gpc.out
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
/* C code produced by gperf version 2.7.2 */
|
||||
/* Command-line: ../src/gperf -g -o -j1 -t -p -N is_reserved_word */
|
||||
/* Computed positions: -k'1,$' */
|
||||
|
||||
/* ISO Pascal 7185 reserved words.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* C code produced by gperf version 2.7.2 */
|
||||
/* Command-line: ../src/gperf -D -p -t */
|
||||
/* Command-line: ../src/gperf -D -p -t -k'1,$' */
|
||||
|
||||
/* Command-line: gperf -L KR-C -F ', 0, 0' -p -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,$ c-parse.gperf */
|
||||
struct resword { const char *name; short token; enum rid rid; };
|
||||
|
||||
Reference in New Issue
Block a user