Andreas Nordal
f4d7d3aa00
( #30 ) Allow unquoted arguments to local et al
...
Resolves #30 .
2020-02-16 23:49:55 +01:00
anordal
9404719d3a
( #31 ) Recognize array member assignment
...
Fixes #31
2020-02-06 23:33:20 +01:00
Andreas Nordal
13429114e0
Rewrite pwd
→ $PWD directly, not via $(pwd)
2019-11-10 15:59:35 +01:00
Andreas Nordal
abffe5fadc
Implement more special variables: $$ $! $-
2019-08-04 15:27:20 +02:00
Andreas Nordal
e43a50bd9d
Parse premature esac. Fixes parse error on rustup.sh
2019-06-09 13:37:09 +02:00
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