summaryrefslogtreecommitdiff
path: root/tests/parser.tests
blob: c8750b9733141cf60ac6d38c693b348c8fbbae9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# catch-all for parsing problems that don't fit anywhere else

# word_top issues in bash-5.2
case x in x) if ((1)); then :; fi ;; esac
case x in x) if ((1)); then :; fi esac

case x in x) if ((true ) ); then :; fi ;; esac
case x in x) if ((true ) ); then :; fi esac

# this has to be in a separate file to get desired EOF behavior
${THIS_SH} ./parser1.sub

${THIS_SH} ./posix2syntax.sub