diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2022-01-23 16:03:41 +0100 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-04-07 17:16:26 -0400 |
commit | f192ecd1effbed2dcc507707a780ecc8e95a537e (patch) | |
tree | 0bd70bccf31ce700856f542e1b4b75d0be0107ae /docs/refman/loaderyaml.py | |
parent | 0808ae1b3d32eebd68342329428631e6a9be4248 (diff) | |
download | meson-f192ecd1effbed2dcc507707a780ecc8e95a537e.zip meson-f192ecd1effbed2dcc507707a780ecc8e95a537e.tar.gz meson-f192ecd1effbed2dcc507707a780ecc8e95a537e.tar.bz2 |
docs: refman: Add `arg_flattening` support
Diffstat (limited to 'docs/refman/loaderyaml.py')
-rw-r--r-- | docs/refman/loaderyaml.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/refman/loaderyaml.py b/docs/refman/loaderyaml.py index 8f56d79..fc06b0d 100644 --- a/docs/refman/loaderyaml.py +++ b/docs/refman/loaderyaml.py @@ -89,6 +89,7 @@ class StrictTemplate(Template): Optional('varargs_inherit', default=''): Str(), Optional('kwargs'): MapPattern(Str(), self.s_kwarg), Optional('kwargs_inherit', default=[]): OrValidator(OrValidator(Seq(Str()), EmptyList()), Str()), + Optional('arg_flattening', default=True): Bool(), }) self.s_object = Map({ @@ -138,6 +139,7 @@ class FastTemplate(Template): 'varargs_inherit': '', 'kwargs': {}, 'kwargs_inherit': [], + 'arg_flattening': True, } s_object = { |