Commit Graph

10 Commits

Author SHA1 Message Date
anordal
1fcc978537 (15) Allow "$*" 2018-10-27 12:26:03 +02:00
anordal
1f8aeec033 Allow unquoted case arms 2018-09-13 21:44:14 +02:00
Andreas Nordal
addf86fd96 Fix hang on outer context end trigger within case arm
The case arm state was erroneously set up to return when an outer context would,
but the intermediate state, the case state, of course continues until "esac".

The bug was in the control structure parsing code that was new in version 4.0.0.
The hang was detected by afl. An exhaustive search did not find more.
2018-09-13 21:33:33 +02:00
anordal
17dda98ee8 Fix/implement interpretation of fd redirection 2018-07-29 21:34:28 +02:00
Andreas Nordal
d0e66534b5 Command position: Improve test 2018-06-24 22:58:19 +02:00
Andreas Nordal
a0b93a70ef Command position: Tackle assignment, psub, subshell, group command 2018-06-24 20:32:06 +02:00
Andreas Nordal
492379b77b Prep for SitCase: Decouple Sit{Cmd,Arg} from SitNormal 2018-06-24 14:31:26 +02:00
Andreas Nordal
a7664539c0 Fix: '?' and ';' must not be made into a string 2018-06-24 12:40:34 +02:00
Andreas Nordal
062a4b64b2 Fix typo in syntax error msg 2018-06-14 23:08:58 +02:00
Andreas Nordal
88d527e6ec Cargoify moduletest 2018-06-06 00:46:35 +02:00