aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fref.lex8
1 files changed, 4 insertions, 4 deletions
diff --git a/fref.lex b/fref.lex
index c14bcd2..041dd8a 100644
--- a/fref.lex
+++ b/fref.lex
@@ -28,7 +28,7 @@
#define TR "Ă–vers."
#define VOL "vol."
- #define DO_ENTRIES \
+ #define DO_FIELDS \
DO("ad",ad,e.ad) /* Access date. */ \
DO("bo",bo,e.bo) /* Book. */ \
DO("ci",ci,e.ci) /* City. */ \
@@ -62,7 +62,7 @@
*/
struct entry {
#define DO(s,n,m) char n[MAX];
- DO_ENTRIES
+ DO_FIELDS
#undef DO
int a; /* Number of authors. */
char au[MAX][MAX]; /* Authors. */
@@ -98,7 +98,7 @@ field(char *t)
#define AS(a,b) if(strncmp(t, a, 2) == 0 && (t += 3)){ strcpy(b, t); return; }
AS("au",e.au[e.a++]);
#define DO(s,n,m) AS(s,m)
- DO_ENTRIES
+ DO_FIELDS
#undef DO
fprintf(stderr, "%s: unrecognized field %%%.2s at line %d\n",
@@ -180,7 +180,7 @@ harvard()
if(*m) fprintf(stderr, "%s: unused field %%"s" at line %d\n", \
name, line); \
*m = 0;
- DO_ENTRIES
+ DO_FIELDS
#undef DO
}