Skip to content

Commit

Permalink
Update grammar.md
Browse files Browse the repository at this point in the history
Add forgotten quotes around 'type'; reported by @Dionysusnu
  • Loading branch information
zeux authored Jan 13, 2022
1 parent d6ba106 commit b2af550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_pages/grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit b2af550

Please sign in to comment.