diff options
author | Phil Blundell <philb@gnu.org> | 2005-05-25 10:14:30 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2005-05-25 10:14:30 +0000 |
commit | 8bf780c087df9dca19c9d16739731eca9f6e6bc9 (patch) | |
tree | d7d4c05cea3b62de6b140fd4fb9ee09c7ec2beaf | |
parent | 3c7ec421cafec9519fa483d1f93ac199085a5a1c (diff) | |
download | bitbake-8bf780c087df9dca19c9d16739731eca9f6e6bc9.tar.gz |
tolerate ${...} in function names
-rw-r--r-- | lib/bb/parse/BBHandler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/parse/BBHandler.py b/lib/bb/parse/BBHandler.py index bab8295cb..d38668505 100644 --- a/lib/bb/parse/BBHandler.py +++ b/lib/bb/parse/BBHandler.py @@ -28,7 +28,7 @@ from bb import debug, data, fetch, fatal from bb.parse.ConfHandler import include, localpath, obtain, init from bb.parse import ParseError -__func_start_regexp__ = re.compile( r"(((?P<py>python)|(?P<fr>fakeroot))\s*)*(?P<func>[\w\-\+]+)?\s*\(\s*\)\s*{$" ) +__func_start_regexp__ = re.compile( r"(((?P<py>python)|(?P<fr>fakeroot))\s*)*(?P<func>[\w\-\+\{\}\$]+)?\s*\(\s*\)\s*{$" ) __inherit_regexp__ = re.compile( r"inherit\s+(.+)" ) __export_func_regexp__ = re.compile( r"EXPORT_FUNCTIONS\s+(.+)" ) __addtask_regexp__ = re.compile("addtask\s+(?P<func>\w+)\s*((before\s*(?P<before>((.*(?=after))|(.*))))|(after\s*(?P<after>((.*(?=before))|(.*)))))*") |