diff options
-rw-r--r-- | fref.lex | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -215,7 +215,8 @@ harvard() /* Reset state. */ e.a = 0; #define DO(s,n,m) if(*m){ \ - fprintf(stderr, "%s: unused field %%"s" at line %d\n", \ + fprintf(stderr, "%s: unused field %%" s \ + " in reference at line %d\n", \ name, line); \ *m = 0; \ } @@ -267,7 +268,9 @@ gettrans(char *lg) } return lsv; }else{ - fprintf(stderr, "%s: invalid language %s\n", name, lg); + fprintf(stderr, "%s: unrecognized language %s" + " in reference at line %d\n", + name, lg, line); exit(1); } } |