Files
bash/tests/parser.tests
T
2024-04-22 10:33:38 -04:00

17 lines
443 B
Plaintext

# 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
# problem with bash-5.2
${THIS_SH} -c '((X=([))]' bash
# this has to be in a separate file to get desired EOF behavior
${THIS_SH} ./parser1.sub
${THIS_SH} ./posix2syntax.sub