Add alias item to grammar (#397)
This commit is contained in:
parent
f64f07a0cc
commit
fa2012d574
@ -41,6 +41,7 @@ grammar
|
|||||||
justfile : item* EOF
|
justfile : item* EOF
|
||||||
|
|
||||||
item : recipe
|
item : recipe
|
||||||
|
| alias
|
||||||
| assignment
|
| assignment
|
||||||
| export
|
| export
|
||||||
| eol
|
| eol
|
||||||
@ -50,6 +51,8 @@ eol : NEWLINE
|
|||||||
|
|
||||||
assignment : NAME '=' expression eol
|
assignment : NAME '=' expression eol
|
||||||
|
|
||||||
|
alias : 'alias' NAME '=' NAME
|
||||||
|
|
||||||
export : 'export' assignment
|
export : 'export' assignment
|
||||||
|
|
||||||
expression : value '+' expression
|
expression : value '+' expression
|
||||||
|
Loading…
Reference in New Issue
Block a user