aboutsummaryrefslogtreecommitdiff
path: root/refs.lex
diff options
context:
space:
mode:
Diffstat (limited to 'refs.lex')
-rw-r--r--refs.lex38
1 files changed, 19 insertions, 19 deletions
diff --git a/refs.lex b/refs.lex
index b78fa4b..645a2aa 100644
--- a/refs.lex
+++ b/refs.lex
@@ -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. */