Skip to content

Commit

Permalink
Removed duplicate newline at end of token output
Browse files Browse the repository at this point in the history
  • Loading branch information
David Rieger committed Nov 4, 2014
1 parent e512aba commit d72c5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lexfuzz.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,4 @@ def lextest_str(token):

tokens = get_tokens(length)
print(''.join([t[1] for t in _pad_tokens(tokens, comments=comments, pad_operators=pad_operators)]), file=sys.stdout)
print('\n'.join([lextest_str(t) for t in tokens] + ['EOF']) + '\n', file=sys.stderr)
print('\n'.join([lextest_str(t) for t in tokens] + ['EOF']), file=sys.stderr)

0 comments on commit d72c5a8

Please sign in to comment.