aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter
diff options
context:
space:
mode:
authorLiam Beguin <liambeguin@gmail.com>2023-08-27 13:43:28 -0400
committerEli Schwartz <eschwartz93@gmail.com>2023-09-07 19:14:03 -0400
commit983562c66e9ee28ce4204d69811cd870e2e1960f (patch)
tree1b445f945fbbf4fb7b365ce615ed44c94803010a /mesonbuild/interpreter
parentba1ba1f5b052ff3873045fc8e608cc58bab937b7 (diff)
downloadmeson-983562c66e9ee28ce4204d69811cd870e2e1960f.zip
meson-983562c66e9ee28ce4204d69811cd870e2e1960f.tar.gz
meson-983562c66e9ee28ce4204d69811cd870e2e1960f.tar.bz2
syntax-highlighting: vim: update builtin function list
Update builtin function list using the refman python docs/genrefman.py \ -g vim \ -o data/syntax-highlighting/vim/syntax/ This also drops gettext() and find_library() from the list of builtin functions that have been deprecated since 2016. Changes are squashed here because test_vim_syntax_highlighting() would validate the file against the list of builtin functions that no longer matches the yaml documentation. Signed-off-by: Liam Beguin <liambeguin@gmail.com>
Diffstat (limited to 'mesonbuild/interpreter')
-rw-r--r--mesonbuild/interpreter/interpreter.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index 0ba8dc7..5657b20 100644
--- a/mesonbuild/interpreter/interpreter.py
+++ b/mesonbuild/interpreter/interpreter.py
@@ -372,12 +372,10 @@ class Interpreter(InterpreterBase, HoldableObject):
'error': self.func_error,
'executable': self.func_executable,
'files': self.func_files,
- 'find_library': self.func_find_library,
'find_program': self.func_find_program,
'generator': self.func_generator,
'get_option': self.func_get_option,
'get_variable': self.func_get_variable,
- 'gettext': self.func_gettext,
'import': self.func_import,
'include_directories': self.func_include_directories,
'install_data': self.func_install_data,
@@ -848,9 +846,6 @@ class Interpreter(InterpreterBase, HoldableObject):
self.environment.get_build_command() + ['introspect'],
in_builddir=in_builddir, check=check, capture=capture)
- def func_gettext(self, nodes, args, kwargs):
- raise InterpreterException('Gettext() function has been moved to module i18n. Import it and use i18n.gettext() instead')
-
def func_option(self, nodes, args, kwargs):
raise InterpreterException('Tried to call option() in build description file. All options must be in the option file.')
@@ -1754,12 +1749,6 @@ class Interpreter(InterpreterBase, HoldableObject):
silent=False, wanted=kwargs['version'],
search_dirs=search_dirs)
- def func_find_library(self, node, args, kwargs):
- raise InvalidCode('find_library() is removed, use meson.get_compiler(\'name\').find_library() instead.\n'
- 'Look here for documentation: http://mesonbuild.com/Reference-manual.html#compiler-object\n'
- 'Look here for example: http://mesonbuild.com/howtox.html#add-math-library-lm-portably\n'
- )
-
# When adding kwargs, please check if they make sense in dependencies.get_dep_identifier()
@FeatureNewKwargs('dependency', '0.57.0', ['cmake_package_version'])
@FeatureNewKwargs('dependency', '0.56.0', ['allow_fallback'])