Add set shell := [...]
to grammar (#526)
This commit is contained in:
parent
e80bf34d9a
commit
d52b8f22a3
@ -43,6 +43,7 @@ item : recipe
|
||||
| alias
|
||||
| assignment
|
||||
| export
|
||||
| setting
|
||||
| eol
|
||||
|
||||
eol : NEWLINE
|
||||
@ -54,6 +55,8 @@ assignment : NAME ':=' expression eol
|
||||
|
||||
export : 'export' assignment
|
||||
|
||||
setting : 'set' 'shell' ':=' '[' string (',' string)* ','? ']'
|
||||
|
||||
expression : value '+' expression
|
||||
| value
|
||||
|
||||
@ -64,6 +67,9 @@ value : NAME '(' sequence? ')'
|
||||
| NAME
|
||||
| '(' expression ')'
|
||||
|
||||
string : STRING
|
||||
| RAW_STRING
|
||||
|
||||
sequence : expression ',' sequence
|
||||
| expression ','?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user