Escaped percent char is mishandled in patsubst arguments
Open
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 132
- Avg merge
- 11m
- Merged PRs (30d)
- 1
Description
According to https://www.gnu.org/software/make/manual/make.html#Text-Functions,
"‘%’ characters in patsubst function invocations can be quoted with preceding backslashes (‘\’). "
Kati does not do that:
```
$ cat /tmp/a.mk
$(error $(patsubst %,\%/%,a b c))
$ make -f /tmp/a.mk
/tmp/a.mk:1: *** %/a %/b %/c. Stop.
$ ckati -f /tmp/a.mk
/tmp/a.mk:1: *** \a/% \b/% \c/%.
```
Contributor guide
Assessment
This issue has not been assessed yet.