summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2005-08-09 22:11:45 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2005-08-09 22:11:45 +0000
commit3d7348c9eb7deebecce594f005f0019f9139e51c (patch)
tree7469aa716ee2b83e423e9bacc907c9bdd657929e
parent0e3b6ccc0b70f4d5eaf944cec5a790389d368fd2 (diff)
downloadbitbake-3d7348c9eb7deebecce594f005f0019f9139e51c.tar.gz
bitbake/lib/bb/parse/parse_py/BBHandler.py:
-Patch by pHilipp Zabel to allow dots in the function names. This fixes bug #139. It seems right to have dots in the packagename
-rw-r--r--lib/bb/parse/parse_py/BBHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/parse/parse_py/BBHandler.py b/lib/bb/parse/parse_py/BBHandler.py
index 7419ca732..fac3e85b3 100644
--- a/lib/bb/parse/parse_py/BBHandler.py
+++ b/lib/bb/parse/parse_py/BBHandler.py
@@ -28,7 +28,7 @@ from bb import debug, data, fetch, fatal
from 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))|(.*)))))*")