Remove some erroneously committed code.

This commit is contained in:
Eric S. Raymond 2007-09-05 05:50:07 +00:00
parent f42f525f82
commit 1f27c358b8

View file

@ -445,10 +445,6 @@ def maptransform2(filename, baseline, inmap, y):
# There's only one kind of underground keep at present.
inmap[y][x] = inmap[y][x].replace("Ku", "Kud")
name_in_attack = False
# These hooks are not presently used.
def validate_stack(stack, filename, lineno):
"Check the stack for deprecated WML syntax."
if verbose >= 3:
@ -469,11 +465,6 @@ def validate_on_pop(tagstack, closer, filename, lineno):
# to deserialize an empty unit.
if closer == "side" and "type" not in attributes and ("no_leader" not in attributes or attributes["no_leader"] != "yes") and "multiplayer" not in ancestors:
print '"%s", line %d: [side] without type attribute' % (filename, lineno)
if context(*suspicious_outermosts)
if "radius" in attributes:
logical = context("and", "or", "not")
if suspicious_outermost and logical:
print '"%s", line %d: order of radius predicate evaluation changed in 1.3.7' % (filename, lineno)
# Syntax transformations