aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Syntax.md5
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).