summaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/python_info.py
diff options
context:
space:
mode:
authorMatt Jolly <Matt.Jolly@footclan.ninja>2024-06-06 22:03:13 +1000
committerJussi Pakkanen <jpakkane@gmail.com>2024-06-23 11:58:36 +0300
commit410bdf8c6c72fd1a2772e86a2a14298f64f1377b (patch)
tree12e0d548f25164c436f14bb6829ff202aad21cb2 /mesonbuild/scripts/python_info.py
parent8967090149cb89f7b82fc6c8f72764975912fa58 (diff)
downloadmeson-410bdf8c6c72fd1a2772e86a2a14298f64f1377b.tar.gz
`configure_file`: update \@ escape logic
When configuring a 'meson' or 'cmake@' style file, add a case for escaped variables using matched pairs of `\@` i.e. `\@foo\@ -> @foo@`. The match for @var@ has been amended with a negative lookbehind to ensure that any occurrances of `\@foo@` are not evaluated to `\bar`. The previous behaviour, matching `\@` and escaping only that character, had undesirable side effects including mangling valid perl when configuring files. Closes: https://github.com/mesonbuild/meson/issues/7165
Diffstat (limited to 'mesonbuild/scripts/python_info.py')
0 files changed, 0 insertions, 0 deletions