diff options
Diffstat (limited to 'usr.bin/awk/maketab.c')
-rw-r--r-- | usr.bin/awk/maketab.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/awk/maketab.c b/usr.bin/awk/maketab.c index 6dd4b773c92..2c4adf72c78 100644 --- a/usr.bin/awk/maketab.c +++ b/usr.bin/awk/maketab.c @@ -1,4 +1,4 @@ -/* $OpenBSD: maketab.c,v 1.20 2020/07/30 17:45:44 millert Exp $ */ +/* $OpenBSD: maketab.c,v 1.21 2023/10/30 17:52:54 millert Exp $ */ /**************************************************************** Copyright (C) Lucent Technologies 1997 All Rights Reserved @@ -160,13 +160,13 @@ int main(int argc, char *argv[]) } if (tok < FIRSTTOKEN || tok > LASTTOKEN) { tokentype = TOK_UNKNOWN; - /* fprintf(stderr, "maketab: funny token %d %s ignored\n", tok, buf); */ + /* fprintf(stderr, "maketab funny token %d %s ignored\n", tok, buf); */ continue; } names[tok-FIRSTTOKEN] = strdup(name); if (names[tok-FIRSTTOKEN] == NULL) { fprintf(stderr, "maketab out of space copying %s", name); - exit(1); + return 1; } printf("\t\"%s\",\t/* %d */\n", name, tok); i++; |