diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-20 02:24:01 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-20 02:24:01 +0200 |
commit | c12b72801f0a71511a152e0d5deb11c84e8e9fa4 (patch) | |
tree | 884e4cf88315ea774b880804dd58e0bd4c68334f /refs.lex | |
parent | 750b1c9febf27760e70aa2ce49a7fd94121fd145 (diff) | |
download | fref-c12b72801f0a71511a152e0d5deb11c84e8e9fa4.tar.gz |
Rename %?? to %xx
Diffstat (limited to 'refs.lex')
-rw-r--r-- | refs.lex | 38 |
1 files changed, 19 insertions, 19 deletions
@@ -18,22 +18,22 @@ struct entry { int a; /* Number of authors. */ - char au[MAX][MAX]; - char ad[MAX]; - char al[MAX]; - char bo[MAX]; - char ci[MAX]; - char da[MAX]; - char ed[MAX]; - char jo[MAX]; - char no[MAX]; /* TODO */ - char pp[MAX]; - char pu[MAX]; - char se[MAX]; /* TODO */ - char ti[MAX]; - char tr[MAX]; - char vo[MAX]; - char QQ[MAX]; + char au[MAX][MAX]; /* author */ + char ad[MAX]; /* internet address */ + char al[MAX]; /* TODO: alternative author name */ + char bo[MAX]; /* book */ + char ci[MAX]; /* city */ + char da[MAX]; /* date (year) */ + char ed[MAX]; /* editor */ + char jo[MAX]; /* journal */ + char no[MAX]; /* TODO: issue number */ + char pp[MAX]; /* pages */ + char pu[MAX]; /* publisher */ + char se[MAX]; /* TODO: series */ + char ti[MAX]; /* title */ + char tr[MAX]; /* translator */ + char vo[MAX]; /* volume */ + char xx[MAX]; /* extra information */ } e; %s ENTRY @@ -76,7 +76,7 @@ field(char *t) AS("ti",e.ti); AS("tr",e.tr); AS("vo",e.vo); - AS("??",e.QQ); + AS("xx",e.xx); fprintf(stderr, "%s: unrecognized field %%%.2s\n", name, t); exit(1); @@ -121,7 +121,7 @@ entry() (pf("%: %.\n", e.ci, e.pu) || pf("%.\n", e.pu)); /* Print other information. */ - pf("%.\n", e.QQ); + pf("%.\n", e.xx); /* Print internet address. */ pf(AVAIL"%\n", e.ad); @@ -143,7 +143,7 @@ entry() CL(e.ti); CL(e.tr); CL(e.vo); - CL(e.QQ); + CL(e.xx); } /* Print formatted text if given strings are non-empty. */ |