diff options
Diffstat (limited to 'src/LexGen.py')
| -rw-r--r-- | src/LexGen.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/src/LexGen.py b/src/LexGen.py index d4f1dbf3f..1d11e3566 100644 --- a/src/LexGen.py +++ b/src/LexGen.py @@ -84,7 +84,9 @@ def CopyWithInsertion(input, commentPrefix, retainDefs, *lists):  			copying = 1  			if retainDefs:  				output.append(line) -	return "\n".join(output) +	ret = "\n".join(output) +	ret = ret.replace(" \n", "\n") +	return ret  def UpdateFile(filename, updated):  	""" If the file is different to updated then copy updated | 
