t / chainlint / inline-comment.teston commit Merge branch 'jk/banned-function' (e28daf2)
   1(
   2# LINT: swallow inline comment (leaving command intact)
   3        foobar && # comment 1
   4# LINT: mispositioned "&&" (correctly) swallowed with comment
   5        barfoo # wrong position for &&
   6# LINT: "#" in string not misinterpreted as comment
   7        flibble "not a # comment"
   8) &&
   9
  10# LINT: "#" in string in cuddled subshell not misinterpreted as comment
  11(cd foo &&
  12        flibble "not a # comment")