on map only files the first line is no longer skipped...
...when converting the maps. esr could you review the patch, Soliton tested it and seems to work.
This commit is contained in:
parent
13ffb08c9c
commit
a106067a84
1 changed files with 5 additions and 4 deletions
|
@ -440,10 +440,11 @@ def translator(filename, mapxforms, textxform):
|
|||
newdata = []
|
||||
lineno = baseline = 0
|
||||
while mfile:
|
||||
line = mfile.pop(0)
|
||||
if verbose >= 3:
|
||||
sys.stdout.write(line + terminator)
|
||||
lineno += 1
|
||||
if not map_only:
|
||||
line = mfile.pop(0)
|
||||
if verbose >= 3:
|
||||
sys.stdout.write(line + terminator)
|
||||
lineno += 1
|
||||
# Exclude map_data= lines that are just 1 line without
|
||||
# continuation, or which contain {}. The former are
|
||||
# pathological and the parse won't handle them, the latter
|
||||
|
|
Loading…
Add table
Reference in a new issue