blob: 2259879fd787828c880a5f2be6e73b7c74cf65f2 [file] [log] [blame] [edit]
foo(
name = "foo",
srcs = [bar],
)
aaa
bbb
ccc
ddd
# multiline
# comment
eee
fff
ggg
def function(
# This shouldn't mess with indentation counting
x, y = z
):
aaa
bbb
def g(a, s,
d # this is d
): # this is function definition
ccc
# Misalingned comments
# are not a syntax error
ddd
def h(a, s = d): # this is h
eee
def k(g): g += 1; return g
for x in y: print(y)
if x: print(x)
elif y: print(y)
else: print(z); print(y); print(x)
if x: print(x)
elif y: print(y)
else: print(z); print(y); print(x)
def i():
def j():
return h([1],
[2]) # returns h
return u()
for b in a: # first
for c, d in b: # second
for ((e, f), g) in zip(c, d): # third
pass
if foo in bar:
for f in foo:
# loop
f()
else if True:
a = b
else:
if False:
#assign
b=a
else:
(a,b)=(b,a)
if foo:
bar
if foo:
bar
#comment
bar
bar
def a():
# comment here
return