mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-05 03:10:54 +01: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 |
|
'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 ['<' GenericTypeList '>'] '=' Type
|
||||||
|
|
||||||
laststat = 'return' [explist] | 'break' | 'continue'
|
laststat = 'return' [explist] | 'break' | 'continue'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue