parent
e9748c132b
commit
15a3a168f0
|
@ -41,7 +41,7 @@ echo $abc
|
||||||
Special variable expansions
|
Special variable expansions
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
echo $# $* $@
|
echo $# $* $@ $!
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -50,6 +50,7 @@ echo $# $* $@
|
||||||
(command_name (word))
|
(command_name (word))
|
||||||
(simple_expansion (special_variable_name))
|
(simple_expansion (special_variable_name))
|
||||||
(simple_expansion (special_variable_name))
|
(simple_expansion (special_variable_name))
|
||||||
|
(simple_expansion (special_variable_name))
|
||||||
(simple_expansion (special_variable_name))))
|
(simple_expansion (special_variable_name))))
|
||||||
|
|
||||||
=============================
|
=============================
|
||||||
|
|
|
@ -450,6 +450,7 @@ module.exports = grammar({
|
||||||
choice(
|
choice(
|
||||||
$._simple_variable_name,
|
$._simple_variable_name,
|
||||||
$._special_variable_name,
|
$._special_variable_name,
|
||||||
|
alias('!', $.special_variable_name),
|
||||||
alias('#', $.special_variable_name)
|
alias('#', $.special_variable_name)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
|
@ -1884,6 +1884,15 @@
|
||||||
"type": "SYMBOL",
|
"type": "SYMBOL",
|
||||||
"name": "_special_variable_name"
|
"name": "_special_variable_name"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "ALIAS",
|
||||||
|
"content": {
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "!"
|
||||||
|
},
|
||||||
|
"named": true,
|
||||||
|
"value": "special_variable_name"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "ALIAS",
|
"type": "ALIAS",
|
||||||
"content": {
|
"content": {
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue