diff options
author | Ola x Nilsson <ola.x.nilsson@axis.com> | 2017-05-31 10:46:48 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-05 09:19:51 +0100 |
commit | ca68d71ddc2e3ffc92d6215345a5909b688cc325 (patch) | |
tree | 2f440bb59bc5d8157ee6f445ce9c515a3e4a3f44 /bitbake/lib/bb/parse | |
parent | 5f711bc63e958bbaac50575d4af956dc9505a874 (diff) | |
download | poky-ca68d71ddc2e3ffc92d6215345a5909b688cc325.tar.gz |
bitbake: ConfHandler: Require whitespace between export and variable name
(Bitbake rev: 22bb7c9270f02ddae72e13d849375feee5f4a98b)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/ConfHandler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py index f7d0cf74ab..bf7e9859ac 100644 --- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py +++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py | |||
@@ -32,7 +32,7 @@ from bb.parse import ParseError, resolve_file, ast, logger, handle | |||
32 | 32 | ||
33 | __config_regexp__ = re.compile( r""" | 33 | __config_regexp__ = re.compile( r""" |
34 | ^ | 34 | ^ |
35 | (?P<exp>export\s*)? | 35 | (?P<exp>export\s+)? |
36 | (?P<var>[a-zA-Z0-9\-_+.${}/~]+?) | 36 | (?P<var>[a-zA-Z0-9\-_+.${}/~]+?) |
37 | (\[(?P<flag>[a-zA-Z0-9\-_+.]+)\])? | 37 | (\[(?P<flag>[a-zA-Z0-9\-_+.]+)\])? |
38 | 38 | ||