aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mconf.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-05-13 10:36:58 -0400
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-06-06 20:02:37 +0000
commit58a9555ddf49d851a7eb56874df1d0b3f498e53e (patch)
treed931badd6ffbe14f8fc5a67039003225b9e621c1 /mesonbuild/mconf.py
parent64bfc6cf7b6439578191e75cbc05bb96de1c70e2 (diff)
downloadmeson-58a9555ddf49d851a7eb56874df1d0b3f498e53e.zip
meson-58a9555ddf49d851a7eb56874df1d0b3f498e53e.tar.gz
meson-58a9555ddf49d851a7eb56874df1d0b3f498e53e.tar.bz2
UserArrayOption: Small cleanup in value parsing
It is nicer to early raise exception if the value from meson_options.txt is not a string in "[]" format than duplicating the parser code for both cases. Also it was checking for duplicated items only in the user_input case, but we should also check for dups in the default value from meson_options.txt.
Diffstat (limited to 'mesonbuild/mconf.py')
0 files changed, 0 insertions, 0 deletions