diff options
author | Tim <tdhutt@gmail.com> | 2017-05-30 11:17:24 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-06-07 20:03:14 +0300 |
commit | 0e027c9616acfbcfec7fe2eafe8c5f774c8c4116 (patch) | |
tree | 18bd0f5da56a3fcf2d18a99b454f67938416199d /docs/markdown | |
parent | f397db6db3f99d963402540330443f8ce61cc651 (diff) | |
download | meson-0e027c9616acfbcfec7fe2eafe8c5f774c8c4116.zip meson-0e027c9616acfbcfec7fe2eafe8c5f774c8c4116.tar.gz meson-0e027c9616acfbcfec7fe2eafe8c5f774c8c4116.tar.bz2 |
Document that user-defined functions and methods are unsupported
Fixes #1870
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Syntax.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md index 5bbae7e..1000766 100644 --- a/docs/markdown/Syntax.md +++ b/docs/markdown/Syntax.md @@ -317,3 +317,8 @@ Most source trees have multiple subdirectories to process. These can be handled test_data_dir = 'data' subdir('tests') ``` + +User-defined functions and methods +-- + +Meson does not currently support user-defined functions or methods. The addition of user-defined functions would make Meson Turing-complete. Avoiding this greatly simplifies the implementation. If because of this limitation you find yourself copying and pasting code a lot you may be able to use a [`foreach` loop instead](#foreach-statements). |