diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/ConfHandler.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py index 5759cb20ed..f7d0cf74ab 100644 --- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py +++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py | |||
@@ -33,7 +33,7 @@ from bb.parse import ParseError, resolve_file, ast, logger, handle | |||
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 | ||
39 | \s* ( | 39 | \s* ( |
@@ -56,9 +56,9 @@ __config_regexp__ = re.compile( r""" | |||
56 | """, re.X) | 56 | """, re.X) |
57 | __include_regexp__ = re.compile( r"include\s+(.+)" ) | 57 | __include_regexp__ = re.compile( r"include\s+(.+)" ) |
58 | __require_regexp__ = re.compile( r"require\s+(.+)" ) | 58 | __require_regexp__ = re.compile( r"require\s+(.+)" ) |
59 | __export_regexp__ = re.compile( r"export\s+([a-zA-Z0-9\-_+.${}/]+)$" ) | 59 | __export_regexp__ = re.compile( r"export\s+([a-zA-Z0-9\-_+.${}/~]+)$" ) |
60 | __unset_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/]+)$" ) | 60 | __unset_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)$" ) |
61 | __unset_flag_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/]+)\[([a-zA-Z0-9\-_+.${}/]+)\]$" ) | 61 | __unset_flag_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)\[([a-zA-Z0-9\-_+.]+)\]$" ) |
62 | 62 | ||
63 | def init(data): | 63 | def init(data): |
64 | topdir = data.getVar('TOPDIR', False) | 64 | topdir = data.getVar('TOPDIR', False) |