Commit Diff


commit - 3cae9670974e97af67a91b0ae22a538f3815d1c1
commit + b3e3b01bb69391108bf230207347723e98320400
blob - 87a91dad57bd7d5c20ddc9ac0f61330455d9664a
blob + 4ab8f2a60fbd44ba48c40b89fdbcc074bb39f269
--- make/TODO.md
+++ make/TODO.md
@@ -186,7 +186,15 @@ This must be defined at the top of the file.
 
 ## `.POSIX:` and `.SUFFIXES:` should give a warnings about this make not being POSIX
 
+# Replace usage of `strtok()` and `strtok_r()` with `strsep()`
 
+# Provide implementations of non-standard functions (libcompat)
+- `err(3)` and `errx(3)`
+- `reallocarray(3)`
+- `asprintf(3)`
+- `strsep(3)` or `strtok_r(3)`
+
+
 # Future TODOs
 ## Support for artifact directories
 ## Check file names for validity
blob - 7a2154a4ca0432bc375fe247e7968b72e0ebd837
blob + edfff503c8e60c8dbe620a32a7ed979e97df640d
--- make/make.c
+++ make/make.c
@@ -439,6 +439,8 @@ struct dep *deps;
 			*t = '}';
 			s = t + 1;
 			break;
+		case '(':
+			errx (1, "syntax error: $(...) syntax is reserved for future use, please use ${...} instead.");
 		default:
 			errx (1, "syntax error: invalid escape sequence: %s", s - 2);
 		}