mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +00:00
Shell: Add support for ARGV (and $*, $#)
This patchset also adds the 'shift' builtin, as well as the usual tests. closes #2948.
This commit is contained in:
parent
192b2383ac
commit
12af65c1c9
Notes:
sideshowbarker
2024-07-19 04:20:03 +09:00
Author: https://github.com/alimpfard
Commit: 12af65c1c9
Pull-request: https://github.com/SerenityOS/serenity/pull/2984
Issue: https://github.com/SerenityOS/serenity/issues/2948
Reviewed-by: https://github.com/awesomekling
8 changed files with 79 additions and 1 deletions
|
@ -162,6 +162,8 @@ dquoted_string_inner :: '\' . dquoted_string_inner? {concat}
|
|||
variable :: '$' identifier
|
||||
| '$' '$'
|
||||
| '$' '?'
|
||||
| '$' '*'
|
||||
| '$' '#'
|
||||
| ...
|
||||
|
||||
comment :: '#' [^\n]*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue