mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-12 13:00:38 +00:00
Update grammar.md
Add forgotten quotes around 'type'; reported by @Dionysusnu
This commit is contained in:
parent
d6ba106be6
commit
b2af550b08
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ stat = varlist '=' explist |
|
|||
'function' funcname funcbody |
|
||||
'local' 'function' NAME funcbody |
|
||||
'local' bindinglist ['=' explist] |
|
||||
['export'] type NAME ['<' GenericTypeList '>'] '=' Type
|
||||
['export'] 'type' NAME ['<' GenericTypeList '>'] '=' Type
|
||||
|
||||
laststat = 'return' [explist] | 'break' | 'continue'
|
||||
|
||||
|
|
Loading…
Reference in a new issue