Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(20)

Unified Diff: Python/makeopcodetargets.py

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Python/codecs.c ('k') | Python/marshal.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Python/makeopcodetargets.py Tue Jul 26 09:37:46 2011 +0300
+++ b/Python/makeopcodetargets.py Mon Jul 25 09:47:18 2011 -0400
@@ -23,6 +23,9 @@
opcode = find_module("opcode")
targets = ['_unknown_opcode'] * 256
for opname, op in opcode.opmap.items():
+ if opname == "STOP_CODE":
+ # XXX opcode not implemented
+ continue
targets[op] = "TARGET_%s" % opname
f.write("static void *opcode_targets[256] = {\n")
f.write(",\n".join([" &&%s" % s for s in targets]))
« no previous file with comments | « Python/codecs.c ('k') | Python/marshal.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+