github.com/cheshirekow/buildtools@v0.0.0-20200224190056-5d637702fe81/build/testdata/046.in (about)

     1  [   # These lines should all appear
     2      # inside the block
     3      cc_binary(
     4          name = "foo_%s" % lang,
     5      )
     6    for lang in li # list comprehension
     7    for li in foo # nested list comprehension
     8    if lang in langs # condition
     9    if lang # another condition
    10  ] # List comprehension ends
    11  
    12  [   # These lines should all appear
    13      # inside the block
    14      cc_binary( # Here's a comment
    15                 # about the target
    16          name = "foo_%s" % lang,
    17      ) # My binary
    18  ] # List ends