o aM@sbdZddlZddlmZmZmZddlmZmZm Z m Z m Z m Z m Z mZdgZGdddeZdS)z pygments.lexers.meson ~~~~~~~~~~~~~~~~~~~~~ Pygments lexer for the Meson build system :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. N) RegexLexerwordsinclude)CommentNameNumber PunctuationOperatorKeywordString Whitespace MesonLexerc @seZdZdZdZddgZddgZdgZej ej BZ de fde jfd ejfd ejfd ejfed ed eddefdefg de fde fgedddefgdejfdefdefedddejfededddejjfgeddddejfdejfgd Z d!S)"r a{ `meson `_ language lexer. The grammar definition use to transcribe the syntax was retrieved from https://mesonbuild.com/Syntax.html#grammar for version 0.58 Some of those definitions are improperly transcribed so the Meson++ implementation was also checked: https://github.com/dcbaker/meson-plus-plus .. versionadded:: 2.10 Mesonmesonz meson.buildzmeson_options.txtz text/x-mesonz#.*?$z'''.*'''z [1-9][0-9]*z0o[0-7]+z0x[a-fA-F0-9]+stringkeywordsexprz[a-zA-Z_][a-zA-Z_0-9]*z\s+z([']{3}([']{0,2}([^\\']|\\(.|\n)))*[']{3}z'.*?(?s  (