Add alias item to grammar (#397)

This commit is contained in:
Casey Rodarmor 2019-04-11 12:57:19 -07:00 committed by GitHub
parent f64f07a0cc
commit fa2012d574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,7 @@ grammar
justfile : item* EOF
item : recipe
| alias
| assignment
| export
| eol
@ -50,6 +51,8 @@ eol : NEWLINE
assignment : NAME '=' expression eol
alias : 'alias' NAME '=' NAME
export : 'export' assignment
expression : value '+' expression