diff options
author | ru <ru@FreeBSD.org> | 2003-07-30 06:47:03 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-07-30 06:47:03 +0000 |
commit | 6247f7406311e6b59676be460a1e9394a5a1fe8f (patch) | |
tree | cab265f99f6731de1c61b382e08586a6f6d799bc /contrib/one-true-awk/lex.c | |
parent | 153c5b8c9d890db78d0bdbc64269ada6c08661bf (diff) | |
download | FreeBSD-src-6247f7406311e6b59676be460a1e9394a5a1fe8f.zip FreeBSD-src-6247f7406311e6b59676be460a1e9394a5a1fe8f.tar.gz |
Vendor import of bwk's 29-Jul-2003 release.
Diffstat (limited to 'contrib/one-true-awk/lex.c')
-rw-r--r-- | contrib/one-true-awk/lex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/one-true-awk/lex.c b/contrib/one-true-awk/lex.c index e4b1fd3..39f5d4d 100644 --- a/contrib/one-true-awk/lex.c +++ b/contrib/one-true-awk/lex.c @@ -529,6 +529,8 @@ int regexpr(void) } } *bp = 0; + if (c == 0) + SYNTAX("non-terminated regular expression %.10s...", buf); yylval.s = tostring(buf); unput('/'); RET(REGEXPR); |