Update grammar.md

Add forgotten quotes around 'type'; reported by @Dionysusnu
This commit is contained in:
Arseny Kapoulkine 2022-01-13 15:23:18 -08:00 committed by GitHub
parent d6ba106be6
commit b2af550b08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'