shithub: trueawk

Download patch

ref: f7c8148865033ff0e851c31da026bf10f250251e
parent: b92d8cecd132ce8e02a373e28dd42e6be34d3d59
author: gpelisset <82290797+gpelisset@users.noreply.github.com>
date: Wed Aug 24 06:41:34 EDT 2022

Fixed typo (#151)


--- a/lex.c
+++ b/lex.c
@@ -525,7 +525,7 @@
 	char *bp;
 
 	if (buf == NULL && (buf = (char *) malloc(bufsz)) == NULL)
-		FATAL("out of space for rex expr");
+		FATAL("out of space for reg expr");
 	bp = buf;
 	for ( ; (c = input()) != '/' && c != 0; ) {
 		if (!adjbuf(&buf, &bufsz, bp-buf+3, 500, &bp, "regexpr"))
--