mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Fix name
This commit is contained in:
parent
ba3c5ead39
commit
adc0f88b66
1 changed files with 2 additions and 2 deletions
|
@ -22,12 +22,12 @@ stat = varlist '=' explist |
|
||||||
'function' funcname funcbody |
|
'function' funcname funcbody |
|
||||||
'local' 'function' NAME funcbody |
|
'local' 'function' NAME funcbody |
|
||||||
'local' bindinglist ['=' explist] |
|
'local' bindinglist ['=' explist] |
|
||||||
['export'] 'type' NAME ['<' GenericTypeList '>'] '=' Type
|
['export'] 'type' NAME ['<' GenericTypeParameterList '>'] '=' Type
|
||||||
|
|
||||||
laststat = 'return' [explist] | 'break' | 'continue'
|
laststat = 'return' [explist] | 'break' | 'continue'
|
||||||
|
|
||||||
funcname = NAME {'.' NAME} [':' NAME]
|
funcname = NAME {'.' NAME} [':' NAME]
|
||||||
funcbody = ['<' GenericTypeList '>'] '(' [parlist] ')' [':' ReturnType] block 'end'
|
funcbody = ['<' GenericTypeParameterList '>'] '(' [parlist] ')' [':' ReturnType] block 'end'
|
||||||
parlist = bindinglist [',' '...'] | '...'
|
parlist = bindinglist [',' '...'] | '...'
|
||||||
|
|
||||||
explist = {exp ','} exp
|
explist = {exp ','} exp
|
||||||
|
|
Loading…
Add table
Reference in a new issue