projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b21207b
)
correct line numbers when handling backslash-continuation
author
Phil Blundell
<philb@gnu.org>
Mon, 17 May 2004 19:26:16 +0000
(19:26 +0000)
committer
Phil Blundell
<philb@gnu.org>
Mon, 17 May 2004 19:26:16 +0000
(19:26 +0000)
bin/oe/parse/OEHandler.py
patch
|
blob
|
history
diff --git
a/bin/oe/parse/OEHandler.py
b/bin/oe/parse/OEHandler.py
index
76635e8
..
4877990
100644
(file)
--- a/
bin/oe/parse/OEHandler.py
+++ b/
bin/oe/parse/OEHandler.py
@@
-110,6
+110,7
@@
def handle(fn, d = {}, include = 0):
if not w: continue # skip empty lines
s = s.rstrip()
while s[-1] == '\\':
+ lineno = lineno + 1
s2 = f.readline()[:-1].strip()
s = s[:-1] + s2
feeder(lineno, s, fn, d)