diff options
Diffstat (limited to 'usr.bin/awk/lex.c')
-rw-r--r-- | usr.bin/awk/lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/awk/lex.c b/usr.bin/awk/lex.c index 213f5d0a9e7..9ca1d0dda17 100644 --- a/usr.bin/awk/lex.c +++ b/usr.bin/awk/lex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.c,v 1.29 2023/09/09 18:59:43 millert Exp $ */ +/* $OpenBSD: lex.c,v 1.30 2023/09/10 14:59:00 millert Exp $ */ /**************************************************************** Copyright (C) Lucent Technologies 1997 All Rights Reserved @@ -588,7 +588,7 @@ int regexpr(void) *bp = 0; if (c == 0) SYNTAX("non-terminated regular expression %.10s...", buf); - yylval.s = buf; + yylval.s = tostring(buf); unput('/'); RET(REGEXPR); } |