projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bf8b97
)
admit blank lines as legitimate python content
author
Phil Blundell
<philb@gnu.org>
Sat, 7 Aug 2004 14:20:25 +0000
(14:20 +0000)
committer
Phil Blundell
<philb@gnu.org>
Sat, 7 Aug 2004 14:20:25 +0000
(14:20 +0000)
bin/oe/parse/OEHandler.py
patch
|
blob
|
history
diff --git
a/bin/oe/parse/OEHandler.py
b/bin/oe/parse/OEHandler.py
index
9e2798c
..
78aa27c
100644
(file)
--- a/
bin/oe/parse/OEHandler.py
+++ b/
bin/oe/parse/OEHandler.py
@@
-18,7
+18,7
@@
__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))|(.*)))))*")
__addhandler_regexp__ = re.compile( r"addhandler\s+(.+)" )
__def_regexp__ = re.compile( r"def\s+(\w+).*:" )
-__python_func_regexp__ = re.compile( r"
\s+.*
" )
+__python_func_regexp__ = re.compile( r"
(\s+.*)|(^$)
" )
__word__ = re.compile(r"\S+")
__infunc__ = ""