shithub: femtolisp

Download patch

ref: d9d5b07e060c0c53f17a1428566049f6b1123f3c
parent: 94273146b28f8860f017859f9a154b2804850324
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Mar 29 06:15:20 EDT 2023

posix: fix builtin_fns.h sed expression

--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@
 	sed 's,\\,\\\\,g;s,",\\",g;s,^,",g;s,$$,\\n",g' flisp.boot >$@
 
 builtin_fns.h:
-	sed -n 's/^BUILTIN[_]?\((".*\)/BUILTIN_FN\1/gp' *.c >$@
+	sed -nE 's/^BUILTIN[_]?(\(".*)/BUILTIN_FN\1/gp' *.c >$@
 
 ${LLT}:
 	${MAKE} -C llt CFLAGS="${CFLAGS} -I../posix" CC="${CC}"