Author: Raffael Tfirst <[email protected]>
Branch: fix-gen-dfa
Changeset: r84586:7fa2b28336bf
Date: 2016-05-22 21:16 +0200
http://bitbucket.org/pypy/pypy/changeset/7fa2b28336bf/
Log: Fix whitespaces printed in genpytokenize
diff --git a/pypy/interpreter/pyparser/genpytokenize.py
b/pypy/interpreter/pyparser/genpytokenize.py
--- a/pypy/interpreter/pyparser/genpytokenize.py
+++ b/pypy/interpreter/pyparser/genpytokenize.py
@@ -279,14 +279,14 @@
if i == 0:
lines.append("accepts = ")
else:
- lines.append(" ")
+ lines.append(" ")
lines.append(line)
lines.append("\n")
i += 1
import StringIO
lines.append("states = [\n")
for numstate, state in enumerate(states):
- lines.append(" #")
+ lines.append(" # ")
lines.append(str(numstate))
lines.append('\n')
s = StringIO.StringIO()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit